Working with Compressed Files and Folders via Zip

Written by Barry Dysert (last updated January 30, 2017)

6

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 500GB hard drive, and you can get 1TB 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.

Assuming you have no third-party compression tools on your system, simply right-click on the file, and choose Send to | Compressed (zipped) folder. This will create a new, compressed file in the same directory and named with a .zip extension. You should then open this .zip file (with Explorer) to verify that it got compressed properly. You can then delete your old, uncompressed file and there you have it—you have saved some space.

When you want to uncompress your .zip file, open it with Explorer and you'll see an "Extract" item in the top menu bar: (See Figure 1.)

Figure 1. Viewing a compressed file.

At the top of the figure you see that the compressed file is named "IMG_0452.zip". Then, by looking in the Explorer pane, you can see your original file, "IMG_0452.JPG". To uncompress your file, click the Extract menu item. When you do, the ribbon will change, and you'll see an Extract All button appear to the right: (See Figure 2.)

Figure 2. Use Extract All to restore your original file.

When you click Extract All you'll be presented with a dialog box prompting you for the folder where you'd like your file restored. When you enter that information and press OK your original, uncompressed file will be back and you can delete the .zip file.

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

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

How to Remove Cortana's Search Box

If you want to free up some space on the taskbar, consider eliminating Cortana's search box. This tip tells you how.

Discover More

Using Robocopy with File Sizes and Ages

Robocopy is a robust file copy utility built into Windows. The various switches built into the program provide very ...

Discover More

Filtering a Folder's Content

If you have lots of files on your computer, it is helpful to filter the files to more easily find a specific one. When ...

Discover More
More WindowsTips

Customizing the Explorer's File List Display

Windows Explorer is a powerful utility to use for navigating among your files and folders. And it can be customized a ...

Discover More

Controlling the Size of the Windows Page File

The Windows page file is crucial to optimal system performance. This tip shows you how to control its size.

Discover More

Combining Drives in Storage Spaces

Need to add some addition drive space to your system? Why not consider adding what Windows calls a 'storage space?' This ...

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 six minus 4?

2017-03-05 06:36:41

Tonya Rose

Very nice explanation! I usually like to use WInZip for file compression because it leaves all the information intact, and that is the first way I learned by following this guide: http://www.winzip.com/learn/file-compression.html but there are also a lot of great file compressors that are free as well :)


2017-01-30 13:33:46

MW

As Scott points out, compressing a file makes it smaller and faster for the recipients to download when it is attached to an email.

But I find the zip feature most useful when I want to export and email an entire folder structure and organization -- including all sub folders and files the way I have set them up -- to the recipients.

'Zipping' the top most folder as Barry describes above accomplishes that task quickly and cleanly.


2017-01-30 13:27:22

Paddytheirishman

I agree with Scott. Compression to a zip file means a simpler way to move multiple files as an attachment. This is my main use. In the old days (1992) I had a notebook computer with a 40 MEGABYTE drive.
I had it compress all my files to give it almost 80 MEGABYTES. We are spoiled with 500 GIGABYTE drives and the like.


2017-01-30 12:49:59

Allan Poe

This won't work on W 97 as shown, as there is no ribbon.
For 97: Rt clk file>Clk Extract all


2017-01-30 12:01:32

Edward Decker

Is it possible to compress an entire folder, including sub-folders and their files, at once?


2017-01-30 11:23:36

Scott Renz

Usually the reason for compressing is to save time uploading or downloading to/from the Internet or because limitations on size of email attachments.


Newest Tips