Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compressing NTFS Filesystems

Compressing NTFS Filesystems (Windows Embedded Standard 2009)


If you are using the NTFS filesystem, you can reduce the footprint size of your run-time image by compressing individual files, directories, or the entire partition.

  1. From the run-time image, open My Computer.

  2. Right-click the drive you want to compress and choose Properties.

  3. On the General tab, select Compress drive to save disk space, and then select OK. The Confirm Attribute Changes window appears.

  4. Choose whether or not to apply the changes to the root of the partition, or to all subdirectories and files, then select OK.

Additionally, you can use the compact command to compress the NTFS file system, specific files, or directories. For example, to compress the program files and all subdirectories, type the following command:

compact /C /S:"C:\Program Files" 

For more information about the compact command syntax, see this Microsoft Web site.

Community Additions

© 2015 Microsoft