Microsoft DOS undelete command
Allows you to restore files that may have been deleted.
The undelete command is an external command that is available in the below Microsoft operating systems as undelete.exe.
undelete [drive:][path][file][/DT][ /DS][//DOS]
|/all||Automatically recovers all files specified.|
|/list||All available files that can be undeleted are listed, however, not recovered.|
|/DOS||Restricts the recovery to those files that meet the file specifications (filespec) in the disk directory table.|
|/DT||Restricts recovery to files within the delete tracking file.|
|/DS||Restricts recovery to files within the sentry directory.|
|/load||Loads the undelete program into memory using information found in the undelete.ini.|
|/unload||Unloads the memory resident portion of the undelete program from memory.|
|/purge[d]||Deletes the contents of the sentry directory.|
|/status||Displays the delete protection present on the computer.|
|/S[d]||Enables the delete sentry level of protection and loads the memory resident portion of the undelete program.|
|/Tdrive[-entries]||Enables the delete tracker level of protection and loads the memory-resident portion of the undelete program. The optional [-entries] allows you to specify the maximum amount of entries found in the pctracker.del file with a maximum of 999 and a minimum of 1.|
undelete c:\windows\system\*.* /all
Undelete all files that may have been deleted in the Windows system directory.
undelete /list /dos
Lists the files that you can recover when only standard tracking is enabled.
This program and command was designed to only be run in MS-DOS versions 5.0 to 6.22. If you upgraded from MS-DOS to Windows this command does not restore any information and can cause problems if ran. If you currently are running a different operating system it is recommended that you utilize a third-party utility to recover lost data.