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.
From the run-time image, open My Computer.
Right-click the drive you want to compress and choose Properties.
On the General tab, select Compress drive to save disk space, and then select OK. The Confirm Attribute Changes window appears.
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.