SET Statements in Dosstart.bat File Ignored

Last reviewed: August 31, 1995
Article ID: Q132453
The information in this article applies to:
  • Microsoft Windows 95

SUMMARY

When you restart Windows 95 in MS-DOS mode, or when MS-DOS mode is set to use the Use Current Configuration option, SET statements in the Dosstart.bat file are ignored.

MORE INFORMATION

When MS-DOS mode is set to use the Use Current Configuration option, Windows 95 uses a file called Dosstart.bat to load real-mode device drivers. This file is also used when you restart Windows 95 in MS-DOS mode.

You can edit the Dosstart.bat file to add device drivers or programs. However, you cannot run SET statements in the Dosstart.bat file because of the way in which the Command.com file is run.

You can run SET statements in the Autoexec.bat file. These SET statements apply in all MS-DOS mode sessions that use the Use Current Configuration option, or if you restart Windows 95 in MS-DOS mode.


KBCategory: kbusage kbenv
KBSubcategory: wpp95 win95 winbatch
Additional reference words: 95


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: August 31, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.