Menu

#658 Incorrect archiving in Windows 2025

open
5
6 days ago
7 days ago
Vadim
No

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.

Discussion

  • Igor Pavlov

    Igor Pavlov - 7 days ago

    You must use the correct character set encoding in the shell script file.
    Use the switch "-pPassword" without spaces for password .

     
  • Vadim

    Vadim - 6 days ago

    Thanks for your help, everything worked out.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.