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:
The only thing you are missing is the
/sswitch before the directory name.