Question: how to zip files using command prompt in windows?
Answer: Download 7-Zip from the 7-Zip home page.
Add the path to 7z.exe to your PATH environment variable. ... 
Open a new command-prompt window and use this command to create a PKZIP *.zip file: 7z a -tzip {yourfile.zip} {yourfolder}