Execute Command for 7-Zip
Posted: Tue Nov 03, 2020 1:56 pm
Hi, I'm trying to use Execute command in Switch to compress and encrypt files using 7-Zip command line program.
When I run the following command 7z a -tzip out.zip in.pdf in Windows Command Promt I get a successful ZIP-file. But in Switch I keep getting error code 1 (https://sevenzip.osdn.jp/chm/cmdline/exit_codes.htm).
The Command or Path is set to: C:/Program Files/7-Zip/7z.exe and the Argument is: a -tzip %1 %2
Any ideas what I'm doing wrong?
ps I'm going to use the XML Pickup for setting the password (but I left this out of the scope for now).
When I run the following command 7z a -tzip out.zip in.pdf in Windows Command Promt I get a successful ZIP-file. But in Switch I keep getting error code 1 (https://sevenzip.osdn.jp/chm/cmdline/exit_codes.htm).
The Command or Path is set to: C:/Program Files/7-Zip/7z.exe and the Argument is: a -tzip %1 %2
Any ideas what I'm doing wrong?
ps I'm going to use the XML Pickup for setting the password (but I left this out of the scope for now).