Jim,
As I explained before, your autoexec.bat file contains logic. This means that certain parts of the autoexec.bat will/will not be executed based on a prior condition. You autoexec contains four different sections: :ERROR, :EXT, :HELP and :QUIT
To verify the logic of the autoexec, you must try to follow the path the autoexec follows through these sections. The method differs a bit between pure dos or a windows 95/98 machine(see below)
Try this, let me know which sections are executed in which order, and post your modified autoexec.bat again.
Good luck
Peter
***************************************
Step by Step instructions for pure DOS
I don't think there's an automatic option to go step by step through the autoexec.
First, remove the @echo off line in the beginning of the autoexec. This instruction "hides" what the autoexec is doing. While this avoids clutter to your screen, it is not helpfull while debugging.
Second: you will see messages on the screen. Try to find out which sections of the autoexec are executed and look for any problems. If the message go too fast, insert a couple of lines with the instruction PAUSE. This will stop the execution of the autoexec until you press a key
****************************************
Step by Step instructions for pure Windows 95/98
Reboot the computer
As the computer is booting press the F8 key when you hear a beep or when you see Starting Windows 95 or Starting Windows 98. Windows 98 users sometimes may find it easier to press and hold the left CTRL key as the computer is booting.
If done properly you should get to a screen similar to the below screen.
Microsoft Windows 95 Startup Menu
=============================
1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only
Enter a choice: 4
To start Windows 95 using the Step-by-Step Confirmation option, restart Windows, and then press the F8 key when you see the message "Starting Windows 95. . . ." Then, choose Step-by-Step Confirmation from the Startup menu.
To start Windows 98 using the Step-by-Step Confirmation option, press the F8 key as soon as Windows starts to load, choose Safe Mode from the list of startup options, and then choose Step-by-Step Confirmation from the Startup menu.
Windows will display each step of the startup process on-screen and prompt you to confirm each item. Type Y after the prompt (or press Enter) to load the item.
Process your startup command file (Autoexec.bat)?
Type "Y" and press Return. The Autoexec.bat file contains a number of commands that set the environment for DOS and 16-bit Windows applications.