Configure the DOS prompt inside Windows 9x
When opening a DOS prompt from the Windows desktop, then it will inherit the environment specified by the Autoexec.bat and Config.sys. It is possible to specify an additional batch file (besides Autoexec.bat), which should be executed when opening a DOS prompt from the Window desktop.
- Create a batch file WinDos.bat with the following contents:
- Create a shortcut to the Command.com
- Right-click the the shortcut and select Properties
- In the menu select Program and point it to the created WinDos.bat
Note to make the Windows 9x startup faster, then one should consider moving the contents from the Autoexec.bat to WinDos.bat (Or at least as much as possible).
Related Using DosStart.bat to configure DOS when leaving Windows