The Recycle Bin

The Recycle Bin is your desktop trash basket. This is where files and folders go when they’ve outlived their usefulness. Basically, the Recycle Bin is a waiting room for data oblivion, in that your files stay here until you empty it—or until you rescue the files by dragging them out again.

While you can certainly drag files or folders onto the Recycle Bin icon, it’s usually faster to highlight them and then perform one of the following options:

  • ▸ Press the Delete key.

  • ▸ Choose File→Delete.

  • ▸ Right-click a highlighted icon and choose Delete from the shortcut menu.

Windows asks if you’re sure you want to send the item to the Recycle Bin. (You don’t lose much by clicking Yes, since it’s easy enough to change your mind, as noted below.) Now the Recycle Bin icon looks like it’s brimming over with paper.

Tip

To turn off the “Are you sure?” message that appears when you send something Bin-ward, right-click the Recycle Bin. From the shortcut menu, choose Properties, and turn off “Display delete confirmation dialog.” Turning off the warning isn’t much of a safety risk; after all, files aren’t really being removed from your drive when you put them in the Recycle Bin.

You can put unwanted files and folders into the Recycle Bin from any folder window or even inside the Open File dialog box of many applications (see Chapter 6).

Restoring Deleted Files and Folders

If you change your mind about sending something to the software graveyard, simply open the Recycle Bin by double-clicking. A window like the one in Figure 4-10 opens.

When you double-click the Recycle Bin (top), its window (bottom) displays information about each folder and file that it holds. To sort its contents, making it easier to find a deleted icon, click the gray column heading for the type of sort you need.

Figure 4-10. When you double-click the Recycle Bin (top), its window (bottom) displays information about each folder and file that it holds. To sort its contents, making it easier to find a deleted icon, click the gray column heading for the type of sort you need.

To restore a selected file or a folder—or a bunch of them—click the “Restore this item” link on the task toolbar. Or right-click any one of the selected icons and choose Restore from the shortcut menu.

Restored means returned to the folder from whence it came—wherever it was on your hard drive when deleted. If you restore an icon whose original folder has been deleted in the meantime, Windows even recreates that folder to hold the restored file(s).

Tip

You don’t have to put icons back into their original folders. By dragging them out of the Recycle Bin window, you can put them back into any folder you like.

Emptying the Recycle Bin

While there’s an advantage to the Recycle Bin (you get to undo your mistakes), there’s also a downside: the files in the Recycle Bin occupy as much disk space as they did when they were stored in folders. Deleting files doesn’t gain you additional disk space until you empty the Recycle Bin.

That’s why most people, sooner or later, follow up an icon’s journey to the Recycle Bin with one of these cleanup operations:

  • ▸ Right-click the Recycle Bin icon, or a blank spot in the Recycle Bin window, and choose Empty Recycle Bin from the shortcut menu.

  • ▸ Click “Empty the Recycle Bin” on the toolbar in the Recycle Bin window.

  • ▸ In the Recycle Bin window, highlight only the icons you want to eliminate, and then press the Delete key. (Use this method when you want to nuke only some of the Recycle Bin’s contents.)

  • ▸ Wait. When the Recycle Bin accumulates so much stuff that it occupies a significant percentage of your hard drive space, Windows empties it automatically, as described in the next section.

The first three of these procedures produce an “Are you sure?” message.

Get Windows Vista Annoyances now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.