As soon as you realise that you've deleted a file you need, stop what you're doing.
If you continue to use your hard disk, the file may disappear permanently.
Click Start/ShutDown.
Select Restart the computer in MS-DOS mode, and then click Yes.
When you reach the DOS prompt go to the directory where the file used to be.
To allow the undelete utility to access the disk directly, type lock c: (The c: is dependent on which drive the file was) and then press Enter.
Type Y and then press Enter to accept but don't worry about your HDD (Hard Disk Drive) being locked for long.
Now type undelete and press Enter. Then follow the prompts to restore your file.
When you have restored the file and are back at the DOS prompt, type unlock c: to prevent further direct disk access.
Then type exit to return to Windows.
