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
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
There is a "Windows Resources Kit Tool" tool called compress.exe. You can download it through the link:
Once installed, just use the command:
C: > "Program Files \ Windows Resource Kits \ Tools \ compress.exe" file.txt file_compressed.txt