Recover files deleted using the DOS command prompt
Most computer users prefer to make use of the Delete key, to delete a particular file. Using the Delete key sends the deleted file into the Recycle Bin. This gives the user a second chance to recover the deleted file by using the Restore option. The Restore option restores the deleted file to its original location. Though this method of deleting files is the most widely used, there are also methods using which the deleted file can be made to bypass the Recycle Bin.
One such method of deleting files, is by the usage of the DOS command prompt. The DOS command prompt enables users to get rid of a file, by making use of the DEL command. The common syntax for deleting a file is given below,
DEL [options] files-to-delete
In the above syntax, the [options] field lets the user customize the DEL command, using additional commands as shown below,
/P : Asks for confirmation before deletion of the file.
/F : Delete Read-Only files with force.
/S : To delete the specified file from all subdirectories.
/Q : Quiet mode to delete without asking.
/A : Select files to delete based on attributes
For example, if the user gives a /P option, the command prompt provides the user a Yes/No option before deleting the particular file. Therefore, to delete a file by name hello.doc, the user needs to type the command in the format given below,
DEL /P hello.doc
If the user provides an option as shown in the example above, he gets a chance to think twice before selecting the Yes or No option. If the user deletes the file without using the options along with the DEL command, and later realizes that the file that he deleted was important, he would require a file recovery software to recover the deleted file.
Undelete software lets you recover files deleted using the DOS command prompt with ease. This data recovery software also lets the user recover files that have been deleted using other methods like Shift + Delete keys, files deleted using Cut or Move command and files deleted using the simple Delete key.
You can follow the steps given below to recover files that have been deleted using the DOS command prompt,
Step 1: Launch the software, either by selecting the icon from the Programs list in the Start Menu, or by clicking on the desktop shortcut,. The Home Screen is displayed, as shown in Figure 1. Select the "Recover Files" option from the Home Screen as shown in Figure 1
Figure 1: Home Screen
Step 2: A new window displays two options namely "Advanced File Recovery" and "Fast File Recovery". In "Advanced File Recovery" option you need to manually select the drive / partition from which you want to recover files deleted using DOS command. Select the "Advanced File Recovery" option and proceed to step 3 as shown in Figure 2.
Figure 2: Select Advanced File Recovery
Note: If you want to recover deleted / lost files from the drive / partition on which the operating system has been installed, select the "Fast File Recovery" option and proceed to Step 5.
Step 3: The software displays the detected logical drives once you select the "Advanced File Recovery" option, as shown in Figure 3. Select the appropriate logical drive from which you want to recover files deleted using DOS command and click on "Next"
Figure 3: Select Logical Drive
Step 4: You can also search for files based on their unique signature using the additional search option provided by the software. Select the file type that you want to recover from the listed file types and click on "Next" to begin the scanning process as shown in Figure 4. You may also click the "Skip" button to skip this step and continue with scanning
Figure 4: Select File Type
Step 5: Clicking the "Next" button starts the scanning process. The software scans for the files deleted using DOS command on the drive / partition that has been selected. Once the software finishes scanning the drive / partition, it displays the recovered files. You can use the Data View / File Type View options to view the recovered files as shown in Figure 5
Figure 5: View Recovered Files
Step 6: You can use the "Save Recovery Session" option to save the scan information. This helps you when you purchase the full version of the software, as you do not have to scan the entire drive again after activating the software. You can make use of the "Open Recovery Session" option to load the scan information and continue with the saving process