How to Recover Deleted Files Using DOS

Before Windows, most home computers ran MS-DOS as an operating system. Instead of clicking icons on the screen, all commands given to the computer were done with text from the "C:" prompt on the screen. To delete a file, you had to specify the file path and name. With MS-DOS version 6.0 and higher, you were able to undelete files provided they were not written over by another file. In Windows, this task was taken over by the Recycle Bin on the desktop.

...

Step

Return to your "C:" prompt if in a program directory. You can do this by simply typing "cd\" at the existing prompt.

Step

Type "Undelete c:\file directory._" at the C:\ prompt and press the enter key. The file directory name is where the deleted file was originally located, for example, "c:\word._."

Step

Check the list of files that list on the screen to see if the file you wish to undelete is listed. The file will start with a "?" mark, for example "?ord.doc."

Step

Type "Undelete c:\derectory\filename" and press enter. The file will be restored to the original location on the drive.