PC DOS: Unloading TSRs from Batch Files on NetWare LANs

Last reviewed: September 30, 1994
Article ID: Q75203
The information in this article applies to:
  • Microsoft Mail for PC Networks, versions 2.1e, 3.0, 3.0b, 3.2, and 3.2a

SYMPTOMS

If any of the Microsoft Mail for PC Networks terminate-and-stay resident (TSR) programs (Micro, Monitor, or Operator) are loaded on a NetWare local- area network (LAN), they may not unload when they are requested from a batch file. This problem occurs regardless of whether the TSR is loaded into memory from the command line or from a batch file; the common factor is that the TSR is requested to unload from a batch file.

CAUSE

This problem can be traced to NetWare's method of allocating environment space, and only occurs on NetWare LANs. This is NOT a problem with MS-Net Redirector-based networks.

RESOLUTION

There is no permanent solution at this time; however, you can eliminate the problem by allocating more environment space. To increase environment space usage, use the Set command with dummy variables such as these:

   set a=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
   set b=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

If the TSR is loaded when these variables have been issued, it will unload when requested from a batch file. The number of extra environment variables will depend on how simple your configuration is.


Additional reference words: 2.10e 3.00 3.00b 3.20 3.20a
KBCategory: kbtool kb3rdparty
KBSubCategory: MailPCDOS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 30, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.