I am trying to compress one folder on my local disk, for example: C:\Templates
I am using the below command from command line (cmd.exe) to do this operation:
compact /c C:\Templates
But it is not working, and shows the following message:
1 files within 1 directory were compressed.
0 total bytes of data are stored in 0 bytes.
The compression ratio is 1.0 to 1.
My machine is running Windows 7, 64 bit.
Use:
compact /c /s:C:\Templates
The only thing you are missing is the /s
switch before the directory name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With