To recover an accidentally deleted file DOS 5 and later provides the UNDELETE command, but many of the popular utility programs, which often have a much better user interface and are therefore easier to use
(External) UNDELETE [d: ][path][filename] [/DT|/DS|/DOS] UNDELETE [/list|/all|/purge[d: ]|/status|/load|/U|/S[d: ]|/Td: [-entires]] Restores files deleted with the DELETE command UNIFORMAT (External) UNFORMAT d: [/J][/L][/test][/partn][/P][/U] Used to undo the effects of formatting a disk VER (Internal) VER Displays the DOS version number VERIFY VERIFY on|off Turns on the verify mode; the program checks all copying operations to assure that files are copied correctly VOL (Internal) VOL [d: ] Displays a disk's volume label VSAFE (External) VSAFE [/option[+|-] ] [/NE][NX][Ax|/Cx] [/N][/D][/U] VSAFE is a memory-resident program that continuously monitors yor computer for viruses and displays a warning when it finds one XCOPY (External) XCOPY [d: ][path]filename [d: ][path][filename] [/A][/D: (date)] [/E][/M][/P)][/S][/V][/W][Y\-Y] Copies directories, subdirectories and files
To undo a deletion, returning everything back to the way it was before you deleted