|
Compress or decompress files and folders from the command line |
|
Friday, 14 November 2008 |
Windows 2000/XP include a command line utility, Compact, which enables you to perform compression or decompression of files at the command line. To use this utility to compress files, open a Command Prompt window and then enter the following command:
compact /c file | folder In this syntax, you use either a file name or a folder name. Alternatively, to decompress files, use this command:
compact /u file | folder
|