The undelete command lets you restore files that were deleted.

Availability

Undelete is an external command that is available for the following Microsoft operating systems as undelete.exe.

  • Availability

  • Undelete syntax

  • Undelete examples

  • Additional information

  • MS-DOS 5.0 - 6.22

Undelete syntax

undelete [drive:][path][file][/DT][ /DS][//DOS] undelete [/list][/all][/purge][/status][/load][/U][/S][/T][-entries]

Undelete examples

undelete c:\windows\system*.* /all

Undelete all files that were deleted in the Windows system directory.

undelete /list /DOS

Lists the files that you can recover when only standard tracking is enabled.

Additional information

This program and command was designed to run only 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 run it. If you currently are running a different operating system, we recommend you utilize a third-party utility to recover lost data.

  • How to recover missing, lost, or deleted files.