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.
UNDELETE [drive:][path][file][/DT][ /DS][//DOS]
|/all||Automatically recovers all files specified.|
|/list||All available files that are able to 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 PCTRACKR.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 have upgraded to Windows 95, Windows 98, Windows NT, or any other operating system, this command will not restore any information but may possibly cause additional issues with the Hard Drive if run. If you currently are running a different operating system it is recommended that you utilize a third-party utility to recover lost data.