中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 11:41
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » [Help] What command can be added to autoexec.bat to stop Win98SE from starting
Printable Version  1,038 / 8
Floor1 shella Posted 2005-02-17 00:00
初级用户 Posts 31 Credits 187
When Win98SE starts, it runs autoexec.bat
I want to add a command in autoexec.bat to stop Windows from starting and enter DOS
What should I do?
Floor2 JonePeng Posted 2005-02-18 00:00
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
Don't modify AUTOEXEC.BAT, modify MSDOS.SYS instead: under , change BootGUI=1 to BootGUI=0.
Floor3 shella Posted 2005-02-18 00:00
初级用户 Posts 31 Credits 187
That won't do. What I want is this: disable F8 during Win98 startup, then set a password in autoexec.bat. If the password is entered, it can stop Win98 startup and enter DOS; if not entered, it goes into Windows. How do I do that? When autoexec.bat is running, pressing ctrl+C or ctrl+break still can't stop Windows from starting.
Floor4 JonePeng Posted 2005-02-19 00:00
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
If you want to disable the F8 key, you'll still have to modify MSDOS.SYS: add a line, BootKey=0. As for setting a password, look through the recent posts, lots of people have been discussing it.
Floor5 shella Posted 2005-02-19 00:00
初级用户 Posts 31 Credits 187
I know how to set a password
What I mainly want is to stop Windows startup
That is, when Windows startup reaches autoexec.bat
have something run in autoexec.bat that can interrupt Windows startup
and enter the DOS prompt
Floor6 bush Posted 2005-02-25 00:00
银牌会员 Posts 730 Credits 2,165
If you want to disable the F8 key, you'll still have to modify MSDOS.SYS: add a line BootKey=0. Let autoexec.bat run win to re-enter Windows—you can set a password, and only run win if it's correct.
Floor7 shella Posted 2005-02-27 00:00
初级用户 Posts 31 Credits 187
You still haven't understood what I mean. The key point is that I want to stop Windows startup from autoexec. During the Win98 startup process, after autoexec runs, it automatically runs win.com to start Windows. What I want now is for win.com not to run after autoexec finishes.
Floor8 JonePeng Posted 2005-02-27 00:00
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
Actually, if you add BOOTGUI=0 to MSDOS.SYS, then after AUTOEXEC.BAT finishes it won't run WIN.
Floor9 shella Posted 2005-02-28 00:00
初级用户 Posts 31 Credits 187
Looks like I'll have to use the method from the previous post: set BOOTGUI=0, then in autoexec.bat, if the preset key isn't pressed, run win automatically to start Windows; if it is pressed, prompt for a password.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023