Using a Common UNDELETE.INI File with Undelete

Article translations Article translations
Article ID: 96824 - View products that this article applies to.
This article was previously published under Q96824
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page


Microsoft Undelete for MS-DOS (UNDELETE.EXE) and Microsoft Undelete for Windows (MWUNDEL.EXE) are designed to share a common UNDELETE.INI file. The UNDELETE.INI file specifies how Undelete should configure memory-resident delete protection. This protection is enabled each time you run Undelete with one of the following:
undelete /load
undelete /s[drive]
undelete /t[drive]

More information

The UNDELETE.INI file is a text file that can be edited using an ASCII text editor, such as MS-DOS Editor. If the MSDOSDATA environment variable is set, the UNDELETE.INI file is created in the directory specified by MSDOSDATA. Otherwise, the UNDELETE.INI file is created in the directory that contains UNDELETE.EXE.

You can change the UNDELETE.INI file settings using any of the following three methods:

Using Undelete for Windows

From the Options menu, choose Configure Delete Protection. The changes you make take affect the next time you load Undelete. (This is the simplest method.)

Using the MS-DOS Command Line

When you load Undelete using the /S[drive] or /T[drive] parameter, the mode of delete protection and which drive[s] you specify to protect are saved in the UNDELETE.INI file. These changes take affect immediately.

Note: This method does not allow you to specify a drive to be left unprotected. For example, if you had been previously loading Delete Sentry on drive C, UNDELETE /SD would enable Delete Sentry on both drives C and D.

Editing the UNDELETE.INI File

Use an ASCII text editor, such an MS-DOS Editor, to change the UNDELETE.INI file settings.

For more information on the UNDELETE.INI file, type help undelete at the MS-DOS command prompt, press ENTER and refer to the Notes section.


Article ID: 96824 - Last Review: October 26, 2013 - Revision: 2.0
Applies to
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition
kbnosurvey kbarchive KB96824

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from