Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.