Incorrect archiving in Windows 2025
A free file archiver for extremely high compression
Brought to you by:
ipavlov
I'm using 7-Zip 25.01 on Windows Server 2025 Standard 24H2 26100.6584. I encountered the following problem. I'm archiving data using a PowerShell script. If the root folder being archived uses Cyrillic characters, the archive is empty and 1 KB in size. If the root folder being archived uses Latin characters, the archive is created successfully.
I encountered a second problem: if I use an archive password in the script, the resulting archive cannot be unpacked. This is because the password is entered incorrectly.
These problems do not occur using the graphical interface.
You must use the correct character set encoding in the shell script file.
Use the switch "-pPassword" without spaces for password .
Thanks for your help, everything worked out.