If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
determing startup mode from within AUTOEXEC.BAT
Is it possible to check while booting in AUTOEXEC.BAT via DOS commandline
commands, whether Windows98 got booted "normally" or "commandline only" (by pressing F8), so I can load mouse-drivers and stuff dependent of if I'm in DOS-mode or booting up Windows?! i.e.: IF EXIST %NORMALBOOT% GOTO NORMAL LOAD DOS NATIVE DRIVERS ... :NORMAL MODE COM ... stuff even Windows uses |
#2
|
|||
|
|||
You can run Help.com, that is in \tools\oldmsdos folder of installation
CDROM, and read about multiconfiguration Config.sys and Autoexec.bat Assuming you create [WIND] and [CMD] items -- here is the line to enter Command Prompt Only, that has to be in [CMD] section of config.sys: DOS=SINGLE In Autoexec.bat the branching must have the structure then: ======= abstract from Autoexec.bat is below this line ======= @echo off leading common codes are here goto %CONFIG% :WIND codes for Windows booting goto END :CMD codes for Command Prompt booting goto END :END trailing common codes are here ======= abstract from Autoexec.bat is above this line ======= -- Mikhail Zhilin http://www.aha.ru/~mwz Sorry, no technical support by e-mail. Please reply to the newsgroups only. ====== On Fri, 11 Mar 2005 04:47:03 -0800, "ME" wrote: Is it possible to check while booting in AUTOEXEC.BAT via DOS commandline commands, whether Windows98 got booted "normally" or "commandline only" (by pressing F8), so I can load mouse-drivers and stuff dependent of if I'm in DOS-mode or booting up Windows?! i.e.: IF EXIST %NORMALBOOT% GOTO NORMAL LOAD DOS NATIVE DRIVERS ... :NORMAL MODE COM ... stuff even Windows uses |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't get into the DOS mode at startup | Ray K | General | 9 | July 29th 04 08:57 PM |
Major Problem | Matty | General | 3 | July 4th 04 05:02 PM |
Spool 32 Error Message Appearing In Safe Mode Startup | foulmouth | General | 3 | June 6th 04 01:40 PM |
Windows bypass startup files and loads in Safe mode | Serge | Setup & Installation | 4 | May 30th 04 02:03 AM |
Selective Startup or Autoexec.bat? | John Callaway | Improving Performance | 3 | May 29th 04 03:21 AM |