IF00243
Change The Compression
State Of A Directory In XP!
The COMPACT command is the command-line version of the NTFS file system
compression feature. This command lets you see and make changes to the
compression attribute of files and directories (not volumes) on NTFS partitions.
If you want to get more drive space on your computer, use this command to
compress your files automatically within Windows XP.
First, open a command prompt by clicking Start, pointing to All Programs,
pointing to Accessories, and then clicking Command Prompt.
- To see the state of the current directory, type COMPACT and then press Enter.
- To get an explanation of all compression options, at the command prompt type
COMPACT /? and press Enter.
To set the compression state of a directory so that files added to the directory
will be automatically compressed:
1. From the current directory, open a command prompt and type COMPACT /c /s and
press Enter.
2. Or from the command line, type compact /c /s:<Folder Name> (compact /c /s:c:\My
folder)
When you set the
compression state of a directory you do not necessarily change the compression
state of files that are already contained in the directory. And you cannot use
COMPACT to read, write, or mount volumes that have been compressed using
DriveSpace or DoubleSpace.
Did this Article Give you the
Information You Were Looking For?


