Site hosted by Angelfire.com: Build your free website today!
Chapter 8: Managing Files and Folders

PreviousChapterContentsGlossaryNext

Working with Compressed Folders

Everyone who has packed a suitcase knows the basic idea of a compressed folder--it's a trick for getting the same quantity of information to fit in a smaller space on a disk. Windows 98 and earlier versions of Windows required that you have a third-party application such as WinZip or ZipMagic to work with compressed folders (which everyone who doesn't work for Microsoft calls ZIP files).In many ways, these applications are still more useful and convenient than the Compressed Folders utility in Windows Explorer. If you are going to work with ZIP files every day, you probably want to acquire ZipMagic or some similar program; for occasional use, the Compressed Folders utility in Windows Explorer works just fine.

Creating a Compressed Folder

To create a compressed folder on the desktop, right-click an empty space and choose New | Compressed Folder from the shortcut menu. To create a compressed folder inside another folder, open or select the folder and choose File | New | Compressed folder.

Either of these techniques creates a compressed folder called New Compressed Folder.zip (or New Compressed Folder if Explorer is set to hide file extensions). You may rename it as you would any other folder, though (as usual) you probably don't want to change the file extension.

To create a compressed folder with a specific file or files already inside it, select the files you want to include, right-click one of the selected files, and then choose Send To | Compressed Folder from the shortcut menu. The selected files remain unchanged, and a copy of them is created inside the compressed folder. The name and location of the folder is the same as the file you right-clicked. The name of the new compressed folder is the same name as the last of the selected files.

Working with Files in a Compressed Folder

To add a file to a compressed folder, drag the file onto the folder's icon or into its open window, and then drop it. The file remains in its original location and a copy is created inside the compressed folder. To move the file without leaving the original behind, drag-and-drop it with the right mouse button, and then choose Move Here from the shortcut menu.

To many applications, a compressed folder appears to be simply a file of a type that the application doesn't know how to open properly. You can't, for example, use the File | Open command in Word to open a Word file that lives inside a compressed folder.

You can open a file in a compressed folder by double-clicking it, but the file usually lacks its full functionality. Windows uncompresses the file into a temporary location, and then runs the program that handles the file. A Word file in a compressed folder, for example, opens in read-only mode. To regain functionality, you need to extract the file. The extracting process creates an uncompressed copy of the file outside the compressed folder.

To extract a file from a compressed folder, drag it from the compressed folder and drop it onto the desktop or into an uncompressed folder. One copy of the file is left behind in the compressed folder and a new, uncompressed copy appears in the new location. To extract the file without leaving a copy in the compressed folder, drag-and-drop with the right mouse button and choose Move Here from the shortcut menu.

To extract all the files in a compressed folder at once, select File | Extract All from the menu if the file is open, or right-click the folder's icon and choose Extract All from the shortcut menu. The Extract Wizard guides you in selecting a destination folder for the extracted files.

In many respects, the compressed folder and its files behave just as other folders and files. You can arrange and view the files within the folder in the usual ways, for example. However, Microsoft didn't completely integrate compressed folders into its filing system. Here is a short list of things Microsoft might want to fix:

Encrypting and Decrypting Compressed Folders

You can attach a password to a compressed folder so that Windows will ask for the password before opening or extracting any of the files in the folder. This technique encrypts the entire folder. If you want to encrypt some of the files in a compressed folder, but not other files, create a new compressed folder, move the files you want to encrypt to the new folder, and encrypt that folder. The password scheme used in compressed folders can be broken by a determined attacker and isn't a substitute for a serious encryption program, but it's adequate to deter casual snooping.

To encrypt a compressed folder, right-click its icon and select Encrypt from the shortcut menu. Or, you can open the folder and select File | Encrypt. When the Encrypt dialog box appears, type a password into the Password box, and then retype the same password into the Confirm Password box. (This retyping is to make sure you didn't mistype the password the first time, thereby creating a password that even you don't know.) Click OK to make the dialog box go away and close the folder (if it was open). The folder is encrypted.

tip Anyone can open an encrypted folder and look at the list of files. Windows doesn't ask for a password until you try to open or extract one of the files. In Details view, someone could learn the sizes and dates of the files without knowing the password. If you want even this information to be secret, put your files in another folder inside an encrypted folder. Then the password of the outer folder is required to open the inner folder.

Opening and extracting files from encrypted compressed folders works exactly the same as opening and extracting files from ordinary compressed folders, except you have to type the password into the Password dialog box.

To decrypt an encrypted folder so that a password is no longer needed to access its files, right-click the folder's icon and select Decrypt from the shortcut menu, and then type the password into the Password dialog box.

PreviousChapterContentsGlossaryNext