DEV Community

Manushree Vishwakarma
Manushree Vishwakarma

Posted on

How to zip files/folder from command-prompt on windows

  1. Download 7-Zip from the 7-Zip home page.
  2. Add the path to 7z.exe to your PATH environment variable. …
  3. Open a new command-prompt window and use this command to create a PKZIP *.zip file: 7z a -tzip {yourfile.zip} {yourfolder}

For more other options or OS visit :
https://www.compuhoy.com/how-do-i-zip-a-folder-in-windows-10-using-cmd/

Top comments (0)