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 {} {yourfolder}

For more other options or OS visit :

Top comments (0)