How to password protect zip file?

Hi @emily

For instance, there are two methods to extract from a zip file.
1.Use Start Process activity and set Filename to “C:\Program Files\7-Zip\7z.exe”,
set Arguments to “e c:\archive.zip -oc:\output *.txt -r”.
2.Use Invoke Power Shell activity with checking IsScript and change TypeArgument to String and set CommandText as follow.
“& ““C:\Program Files\7-Zip\7z.exe”” @(”“e”“,(”“c:\archive.zip”“),(”“-oc:\output”“),(”“*.txt”“),”“-r”“) | out-string;”

1 Like