次の方法で共有


Compressing NTFS Filesystems

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.

To compress the NTFS filesystem

  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.

See Also

Footprint | Footprint Reduction Design Considerations

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.