Undelete Ü
ßßßßßßßßß
Restores files previously deleted with the del command.
Syntax: UNDELETE [[d:][path]file] [/LIST | /ALL] [/DOS | /DT]
d:path\file
The name of the file to recover. If not specified, try
to recover all files in the working directory.
/LIST
List all the files that might be recoverable but do not
recover them.
/ALL
Recover all deleted files in the working directory.
/DOS
Recover only those files listed as deleted from DOS.
/DT
Recover only those files that are delete-tracked from the DOS
mirror program.
Notes
Use any one of the following switches: /DOS, /DT, or /ALL. If you do
not specify a switch, undelete uses the deletion tracking file if it is
available. If it isn't, undelete attempts to recover files by using the
directory listing of deleted files. Recovering deleted files using the
deletion-tracking file is usually more reliable.
CAUTION: Once you delete a file from your disk, you may not be able
to retrieve it. Although the undelete command can retrieve
deleted files, it can do so with certainty only if no other
files have been created or changed on the disk. If you
accidentally delete a file that you want to keep, stop what
you're doing and immediately use the undelete command to
retrieve the file.
Example:
The following command specifies that undelete is to recover all deleted
files with the .cpp extension in the dev directory of drive C, without
prompting for confirmation on each file:
undelete c:\dev\*.cpp /all
See Also:
Del
Mirror
Unformat