Working with Compressed Files and Folders via NTFS Compression

Written by Allen Wyatt (last updated February 20, 2017)

Many times the question comes up, "How do I compress a file or folder in Windows?" While the reason to do so is obvious (to free up disk space), the motivation behind the question is something that you may want to consider. For one thing, disk space is relatively cheap these days. Many new laptops come with a 500 GB hard drive, and you can get 1 TB drives without spending that much more. And let's not forget about external drives and cloud storage. Add all this to the fact that file compression really may not save you all that much space and that it does increase processing time when accessing a compressed file, and you may begin to wonder if it's really worth compressing files at all.

If you have huge text files sitting around, they will usually compress nicely, but most often the files that are taking up the most amount of space are binary files, and compressing them usually won't save you much space at all. Nevertheless, if you want to compress a file, you can certainly do so—and quite easily. Simply right-click on the file and choose Properties. Under the General tab, click the Advanced button. (See Figure 1.)

Figure 1. A file's Properties page.

Once you click Advanced, another page appears where you can check the box indicating the file is to be compressed. (See Figure 2.)

Figure 2. Setting the file to be compressed.

Now when you OK out of the dialog boxes you'll see (assuming your settings provide for it) your newly compressed file in another color. (See Figure 3.)

Figure 3. The color-coded compressed file in File Explorer.

Also, if you look closely, you may notice that the file's icon has a slight change in the upper right corner, which also tells you that it's compressed.

To uncompress the file, you just go back and uncheck the box in the Advanced Properties dialog window, and your file will be restored to its original state.

Compressed folders are a neat feature in Windows. If you mark a folder as compressed, then any file you put in that folder automatically becomes compressed. You mark a folder as compressed the same way you mark a file as compressed, viz., right-click the folder and choose Properties. Then click Advanced. Then click the checkbox to compress it.

 This tip (375) applies to Windows 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Testing for an Empty Worksheet

If you are using a macro to process a number of worksheets, you may have a need to know if the worksheet is empty or not. ...

Discover More

Drawing Lines

Excel doesn't limit you to only numbers and text in your worksheets. You can also add different types of shapes. Here's ...

Discover More

Trimming Spaces from Strings

When processing text with a macro, you often need to remove extraneous spaces from the text. VBA provides three handy ...

Discover More
More WindowsTips

Understanding and Using File Attributes

Every file has several attributes associated with it. These attributes can be turned on or off in a couple of ways and ...

Discover More

Configuring Windows to Do Backups on a Schedule

Performing regular backups of your system offers you peace of mind because you don't have to worry about data loss in the ...

Discover More

Renaming Multiple Files

Got a bunch of files you need renamed? Windows can help you out, but only in a limited manner. This tip shows you how.

Discover More
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}] (all 7 characters, in the sequence shown) 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 5 - 3?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips