Understanding Compressed Folders

by Barry Dysert
(last updated February 1, 2016)

2

The file system used by Windows includes support for automatic file/folder compression. You take advantage of this feature by creating compressed folders, and then every file that you copy or move to this folder automatically becomes compressed. This saves disk space, as compressed information takes less disk space than does uncompressed information.

When you use a compressed folder, its contents are automatically decompressed when they are read, so the compression and decompression all happens transparently. You pay a small price in CPU performance, but if disk space is at a premium, using compressed folders is a way to stretch your disk space a bit further.

Creating a compressed folder is easy. Follow these general steps:

  1. Locate or create the folder you want to compress.
  2. Right-click on the folder and select Properties from the resulting Context menu. Windows displays a Properties dialog box for the folder, and the General tab should be selected.
  3. Click Advanced. Windows displays the Advanced Attributes dialog box. (See Figure 1.)
  4. Figure 1. Enabling compression for a folder.

  5. Select the Compress Contents to Save Disk Space check box.
  6. Click OK to close the Advanced Attributes dialog box.
  7. Click OK to close the Properties dialog box.

Your folder is now compressed, and any files you create in that folder inherit the compression attribute you just set. That means that those files will be compressed automatically. To disable the compression, repeat the same steps, but clear the check box in step 4.

Since the file compression happens at the file system level, all Windows utilities and software (e.g., Windows Explorer, Notepad, Microsoft Word, etc.) don't even know they're dealing with compressed files because compression and decompression happens automatically by NTFS.

There is one caveat with regard to compressed folders. According to Microsoft, if you move a file from a different NTFS drive into a compressed folder, it is automatically compressed. However, if you move a file from the same NTFS drive into a compressed folder, the file retains its original state, either compressed or uncompressed.

 This tip (5671) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

Using Windows with a Projector

If you want to show what's on your computer screen through a projector so that others can see it, the process is about as ...

Discover More

Using Media Player

Windows Media Player can do many things, many of which are covered in other tips. This tip provides the basic overview of ...

Discover More

Restoring the Built-in Windows Libraries

Windows comes with four built-in libraries. You may accidentally (or on purpose) delete one or more of them. This tip tells ...

Discover More
More WindowsTips

Creating a Disk Partition

Partitioning your disk offers a quick and efficient means to make good use of your disk resources. By creating disk ...

Discover More

Creating Your Own File Folders

In the general course of using your system, you will likely create many new files. It's a good idea to organize your files ...

Discover More

Displaying Hidden and System Files in a Folder

Files (and folders) can be marked hidden so that you don't see them in Windows Explorer. This tip tells you how to configure ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 + 8?

2016-02-01 10:20:32

Allen

You are correct, WyoSteve. I failed to update the settings to show which versions of Windows this tip worked with. I've done so now.

-Allen


2016-02-01 08:31:04

WyoSteve

This works with Windows 10, too. I don't know about Windows 8 or 8.1 since I don't have any computers with them.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.