DESKTOP

Windows 7 : Using Compression and Encryption (part 2) - Compressing Files and Folders

2/15/2011 9:25:43 AM

2. Compressing Files and Folders

In addition to compressing an entire drive, Windows 7 allows you to compress files and folders selectively. When you compress a folder, you can elect to compress only the folder and the files it contains, or the folder, its subfolders, and all related files.

2.1. Compressing a file or folder

Any files or folders you create in a compressed folder are compressed automatically. When you move an uncompressed file or folder to a compressed drive or folder, the file or folder is compressed automatically when you are moving between drives. However, if you move an uncompressed file or folder to a compressed folder on the same NTFS drive, the file or folder isn’t compressed automatically and you will need to compress the file or folder manually.

You can compress a file or folder by completing these steps:

  1. In Windows Explorer, right-click the file or folder that you want to compress and then select Properties.

  2. On the General tab of the Properties dialog box, click Advanced.

  3. In the Advanced Attributes dialog box, shown in Figure 3, select the “Compress contents to save disk space” checkbox and then click OK.

  4. For an individual file, Windows 7 marks the file as compressed and then compresses it. For a folder, Windows 7 marks the folder as compressed. If a folder contains files or subfolders, Windows 7 displays the Confirm Attribute Changes dialog box, shown in Figure 4:

    • To compress only the folder, select “Apply changes to this folder only” and then click OK. Newly created files in this folder will be compressed.

    • To compress the folder, subfolders, and all related files, select “Apply changes to this folder, subfolders and files” and then click OK. All existing files and newly created files in this folder will be compressed.

Figure 3. Compressing the disk


Figure 4. Choosing the compression options


2.2. Expanding a file or folder to remove compression

If you later decide that you no longer want to compress a folder or file, you can remove compression. Before you do this, you should ensure that the drive has adequate free space to accommodate the expanded files. Typically, you’ll need at least 50 percent more free space on the disk to expand its contents successfully. If a compressed folder currently uses 2 GB of space, this means you’d probably need about 1 GB of free space to expand the folder successfully.

You can expand a file or folder by completing these steps:

  1. In Windows Explorer, right-click the file or folder that you want to expand and then select Properties.

  2. On the General tab of the related property dialog box, click Advanced.

  3. In the Advanced Attributes dialog box, clear the “Compress contents to save disk space” checkbox and click OK twice.

  4. For a file, Windows 7 removes compression and expands the file. For a folder, Windows 7 turns off compression for that folder. If the folder contains subfolders or files, Windows 7 displays the Confirm Attribute Changes dialog box, shown in Figure 5:

    • To expand only the folder, select “Apply changes to this folder only” and then click OK. Newly created files in this folder will not be compressed.

    • To expand the folder, subfolders, and all related files, select “Apply changes to this folder, subfolders and files” and then click OK. All existing files and newly created files in this folder will be uncompressed, and newly created files will not be compressed.

Figure 5. Choosing the uncompress options

Other  
  •  Windows 7 : Maintaining and Recovering Volumes
  •  Windows Server 2008 : Domain Name System and IPv6 - Secure DNS with DNSSEC
  •  How to Configure IPv6 on Windows Server 2008 R2
  •  Windows Azure : Working with local storage
  •  Windows Azure : Common uses for worker roles (part 2) - State-directed workers
  •  Windows Azure : Common uses for worker roles (part 1)
  •  Windows 7 : Preparing Disks for Use (part 3)
  •  Windows 7 : Preparing Disks for Use (part 2) - Adding a Mirror to an Existing Volume & Shrinking or Extending Volumes
  •  Windows 7 : Preparing Disks for Use (part 1) - Creating Mirrored, Spanned, or Striped Volumes
  •  Windows Server 2008: IPv6 Introduction (part 3) - The 6to4 Tunneling Protocolcol & The Teredo Tunneling Protocol
  •  Windows Server 2008: IPv6 Introduction (part 2) - IPv6 Transition Technologies & The ISATAP Tunneling Protocol
  •  Windows Server 2008: IPv6 Introduction (part 1) - IPv6 Addressing & Comprehending IPv6 Addressing
  •  Windows Server 2008: Domain Name System and IPv6 - Troubleshooting DNS
  •  Windows Server 2008: Domain Name System and IPv6 - DNS in an Active Directory Domain Services Environment
  •  Windows Azure : Processing with worker roles - Communicating with a worker role
  •  Windows Azure : Processing with worker roles - A simple worker role service
  •  Windows 7 : Configuring Disks and Drives (part 2) - Converting a Basic Disk to a Dynamic Disk
  •  Windows 7 : Configuring Disks and Drives (part 1) - Using Disk Management
  •  Windows Server 2008 : Domain Name System and IPv6 - DNS in Windows Server 2008 R2
  •  Windows Server 2008 : Domain Name System and IPv6 - Understanding the Evolution of Microsoft DNS
  •  
    Top 10
    Smart, But Not Pricey : LG Optimus L7, Nokia Lumia 610, Sony Xperia U, Micromax A90S, BlackBerry Curve 9320, Nokia Lumia 710
    Acer Iconia W510 - Multi-Faceted Windows Tablet
    The Big Show: LG Optimus Vu
    Edifier E10 Exclaim - Exclamation Mark
    If It Bleeps We Can Mix It (Part 2)
    If It Bleeps We Can Mix It (Part 1)
    Jabra SOLEMATE Bluetooth Portable Speaker
    Projecting Movies From Smartphone – Sharp BD-AMS20S
    Sharkoon X-Tatic SP Plus - Talk About Lots Of Cables
    Audio Technica ATH-FC707 - No Headline, Too Busy Enjoy Music
    Most View
    Windows Server 2008 Server Core : Verifying Application and Role Status Using the OCList Utility
    Compact Camera Shootout (Part 2) : Samsung WB150F, Sony Cyber-shot DSC-H100, Olympus SP-620 UZ
    Customizing the Browser User Interface
    Adobe Illustrator CS5 : Setting General Print Options, Setting Marks and Bleed Options
    Top 10 Blu-Ray Players – November 2012
    Understanding Windows 7 Personalization
    Processor Group Test (Part 1) - AMD A8-3870K
    Gold-Plated Lamborghini TL700 : Simplicity Is Stylish
    Windows Server 2008: Domain Name System and IPv6 - Troubleshooting DNS
    All About Nexus 7 (Part 5)
    Upgrading and Converting to Access 2010 : INSTALLING MULTIPLE VERSIONS OF ACCESS ON ONE PC, CHANGING FILE FORMATS
    Advice Centre by Photography Experts (Part 7) - Cropping to create close-ups & Moody skies
    Samsung Galaxy Camera Review – Part2
    What Is CEBP?
    Designing a Windows Server 2008 R2 Active Directory : Understanding the Single Domain Model
    Choosing The Right Components (Part 3)
    Sharepoint 2007: Get Started with Your Personal Site
    Instagram : It Lets You Share Dirty Pictures, And It’s Worth $1 Billion
    Samsung Galaxy SIII : Live up to the hype (Part 3)
    Installing Exchange Server 2010 into an existing Exchange Server 2007 environment (part 1) - Upgrading Active Directory