Zip files by command line in Windows? [closed]

-1

Does anyone know how I zipo files by command line in Windows?

Note: I do not want to compress the file itself, I want to send it to a compressed folder.

Example: File.txt - > File.zip

    
asked by anonymous 12.10.2016 / 19:13

1 answer

3

There is a "Windows Resources Kit Tool" tool called compress.exe. You can download it through the link:

link

Once installed, just use the command:

C: > "Program Files \ Windows Resource Kits \ Tools \ compress.exe" file.txt file_compressed.txt     

12.10.2016 / 19:32