Undelete Warning: "Cannot Unload... Undelete Is Not the..."
PSS ID Number: Q104720
Article last modified on 11-04-1993
PSS database name: O_MSDOS

6.00 6.20

MS-DOS


---------------------------------------------------------------
The information in this article applies to:

 - Microsoft MS-DOS operating system versions 6.0 and 6.2   
---------------------------------------------------------------

SYMPTOMS
========

When you use the UNDELETE /UNLOAD command to remove the memory-
resident portion of Microsoft Undelete, you may receive the following
error message:

   Cannot unload
   Undelete is not the last resident program
   others must be unloaded first

CAUSE
======

This error message occurs if another terminate-and-stay-resident (TSR)
program is loaded in the AUTOEXEC.BAT file after UNDELETE.

WORKAROUND
==========

If you want to make Undelete a removable TSR program, make sure that
it is the last TSR loaded in the AUTOEXEC.BAT file.

MORE INFORMATION
================

Steps to Reproduce Behavior
---------------------------

1. Edit the AUTOEXEC.BAT file by adding

      c:\dos\undelete  /s

   as the next to last line.

2. Add the following line below the C:\DOS\UNDELETE /S line:

      c:\dos\doskey

3. Save the file, exit, and reboot your computer.

4. At the MS-DOS command prompt, type "undelete /unload" (without the
   quotation marks) and press ENTER.

Additional reference words: 6.00 6.20

Copyright Microsoft Corporation 1993.