Create compressed and encrypted zip from a command line

ZIP

Windows does not provide a simple built in way of doing this, so we need to download an external tool such as the popuplar 7zip: https://www.7-zip.org/

Now we can run from a command line - replace foldername, archive and password placeholders :

"c:\Program Files\7-Zip\7z.exe" a -p"[password]" [archive].zip [foldername]

Post a Comment

Previous Post Next Post