When Win95 boots, it presents a menu with several choices. The "Normal" option runs the Win95 GUI and the "Command Prompt Only" stays at the DOS 7.1 prompt (I run OSR2). The other options are not relevant to the question.
Now here is what I want to accomplish:
I would like to load real-mode drivers if the "Command Prompt Only" option is selected but not if the "Normal" option is selected.
Problem is, how do I detect the boot option from CONFIG.SYS?
Before you answer, there are several methods that I've already tried and rejected. So unless you think I overlooked something, please don't bother repeating them:
* Use the "Previous DOS Version" setting.
I already use it for a previous version of (DOS 6.22). I need to make the distinction under DOS 7.1 (that comes as a part of Win95/OSR2).
* Use the [menu] options in GONFIG.SYS.
I don't want to have *two* menus (I need the first one to boot to DOS 6.22 or for "Safe Mode").
* Buy a program that accomplishes it.