Home   MS-DOS Home   A-Z   NS Utilities   Command Syntax

UNDELETE

Home >> MS-DOS Reference >> Command Categories >> File and Disk Management >> UNDELETE

File and Disk Management

File and Disk Management


Summary
Description
Command Syntax
Comments
Supported DOS versions: MS-DOS 5 - 6.22
How easy to use? Easy
How safe to use? Moderately dangerous
How common? Fairly common
Internal or external command? External

Description

Restores files accidentally deleted with the DEL or ERASE commands

Command Syntax

UNDELETE [filename] [/dt | /ds /dos]

or

UNDELETE [/list | /all | /purge[drive] | /status | /load | /unload | /s[drive] | /t[drive][-entries]

Comments

The DOS 5 version of UNDELETE works in conjunction with MIRROR while the DOS 6+ version is a standalone utility with a lot more functionality. In both cases it uses technology licensed from the now defunct Central Point PC Tools which has since been replaced by Norton Utilities.

The Delete Sentry method of delete protection intercepts the DOS call for deleting files and moves the files to a hidden directory instead. This directory is not designed to be accessed directly as the filenames are changed to prevent any conflicts that may arise when two files have the same name (for example, how many files have the name README.TXT?).

UNDELETE should be used immediately after the file was deleted (unless using Delete Sentry protection) as the file's space is marked as "available" and later it may not be possible to recover the file. UNDELETE cannot undelete directories although the Windows 3.1x version can.

Home Home
MS-DOS MS-DOS Home
A - Z Index A - Z Index

Top of page
Summary
Description
Command Syntax
Comments




Top of page    Home    MS-DOS Home    NS Utilities
Copyright © 2005 Marcus Houlden  |  Copyright and Data Protection

Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden