Deleting and Undeleting Files and Folders
Eventually, your computer will become full of files, and you’ll have a hard time organizing and storing them all. You can delete any files you no longer need. You can also delete entire folders. When you delete a folder, the folder and all its contents are moved to the Recycle Bin.
Windows XP doesn’t really delete a file or folder; instead, it moves it to the Recycle Bin. If needed, you can retrieve the file or folder from the Recycle Bin. This common task is also covered in this section.
Deleting a File or Folder
Follow these steps to delete a file or folder:
Select the file or folder you want to delete.
Click Delete this file. You are prompted to confirm the deletion (see Figure 3.7).
Click Yes to confirm the deletion. Windows removes the file or folder, placing it in the Recycle Bin.
Figure 3.7 Before deleting, Windows XP prompts you for confirmation.
Undeleting a File
Sometimes, you will delete a file or folder by mistake. If you make a mistake, you can retrieve the file or folder from the Recycle Bin (as long as the Recycle Bin has not been emptied) and return the file or folder to its original location. Usually, Murphy’s Law goes into effect: The minute you delete an old file is a minute before you determine you need it. Don’t fret, though, you can undelete a file.
To undelete a file or folder, follow these steps:
Double-click the Recycle Bin icon on your desktop. You’ll see the contents of the Recycle Bin, including any folders, icons, or files you have deleted (see Figure 3.8).
Select the file or folder you want to undelete.
Click Restore this item in the Task pane. The file or folder is then moved from the Recycle Bin back to its original location.
Click the Close button to close the Recycle Bin.
Figure 3.8 The Recycle Bin includes any files and folders you have deleted.
Emptying the Recycle Bin
The contents of the Recycle Bin take up disk space, so you should periodically empty it. The icon changes if it contains something, so you can tell by looking at it whether or not it is empty. You can permanently delete the contents by emptying the Recycle Bin. However, be sure that it doesn’t contain any items you need. Follow these steps:
Double-click the Recycle Bin icon.
Check the contents of the Recycle Bin and undelete any files or folders you need.
Click Empty the Recycle Bin in the Task pane. Windows displays the Confirm Multiple File Delete dialog box, prompting you to confirm this action.
Click Yes to empty the Recycle Bin.