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 (see "What Are Compressed Folders?" earlier in the chapter). 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. 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 (Zipped) Folder from the shortcut menu. To create a compressed folder inside another folder, open or select the folder and choose File New Compressed (Zipped) Folder.

Either of these techniques creates a compressed folder called New Compressed (Zipped) Folder.zip (you won't see the extension if you have Explorer 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 (Zipped) 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 as the 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 Compressed (Zipped) Folders 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:

  • Compressed folders don't appear on the Folder Explorer bar.

  • Compressed folders don't show up in Browse windows. So, for example, you can't save a Word document into a compressed folder by choosing File Save As from the Word menu bar. Most programs can't open a file that's stored in a compressed folder.

  • You can't customize a compressed folder.

  • The columns in Details view are different for a compressed folder because there is more to know about a compressed file: the size of the compressed file, the size of the extracted file, the ratio between the sizes, whether the file is encrypted, and the method of compression.

  • You can't drag-and-drop or cut-and-paste a file from one compressed folder to another unless one of the folders contains the other.

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 Properties, click the General tab, and then click Advanced. Select Encrypt Contents To Secure Data in the Advanced Attributes dialog box. Click OK. Click OK again in the compressed folder's Properties dialog box. An Encryption Warning dialog box appears. Select to encrypt the file and its parent folder or to encrypt only the selected file. If you encrypt only the file, the folder in which the file is stored will still be accessible (that is, there will be no encryption on it). Click OK.

Opening and extracting files from encrypted compressed folders works exactly the same as opening and extracting files from ordinary compressed folders, except you have the file's encryption key and certificate set up under the currently logged-on user .

To decrypt an encrypted folder so that a certificate and key are no longer needed to access its files, right-click the folder's icon and select Properties from the shortcut menu, click the General tab, and then click Advanced. In the Advanced Attributes dialog box, deselect Encrypt Contents To Secure Data. Click OK twice.

After you encrypt a file or folder, take the time to back up the encryption key and certificate. This ensures that if the key and certificate are lost or damaged on your computer, you will have another copy of them to allow you to open the encrypted file. A message appears on the task tray asking if you want to back up the encryption certificate and key. Click the message and then do the following:

  1. Click Back Up Now (Recommended). The Certificate Export Wizard appears.

  2. Click Next.

  3. Select the file format for the backup file.

  4. Click Next.

  5. To protect the encryption certificate and key, enter a password and confirm it. This will protect the backup file so only authorized users can load it.

  6. Click Next.

  7. Specify a filename for the export file. You can click the Browse button to specify a different folder other than the Documents folder in which to store the export file. You may, for example, want to store the backup file on removable media, such as a flash disc or CD-R. Click Save if you do this.

  8. Click Next.

  9. Click Finish.

  10. Click OK when the export finishes.




Windows Vista. The Complete Reference
Windows Vista: The Complete Reference (Complete Reference Series)
ISBN: 0072263768
EAN: 2147483647
Year: 2004
Pages: 296

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net