中国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-17 16:11
47,814 topics / 349,907 posts / today 4 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » How to choose at startup between pure DOS software and W98 in AUTOEXEC.BAT
Printable Version  914 / 2
Floor1 sunsisi Posted 2005-11-23 23:45
初级用户 Posts 8 Credits 142
How can I make it possible to choose at startup between pure DOS software and W98 in the AUTOEXEC.BAT batch file?
Floor2 alchemist Posted 2005-11-24 17:42
高级用户 Posts 193 Credits 652
1. At C:\> type attrib -r -s -h msdos.sys
2. Edit the msdos.sys file, find the line BootGUI=1, and change the "1" to "0"
3. Type attrib +r +s +h msdos.sys
4. Add the following to the AUTOEXEC.BAT file
@echo off
echo.
echo Press "1" to MS-DOS 7.1 Press"2" to Windows 98
echo.
choice /c:12
echo.
if errorlevel 2 goto WIN
if errorlevel 1 goto dos
:WIN
win
:dos

file:///C:/windows/desktop/02.gif

[ Last edited by alchemist on 2005-11-25 at 16:32 ]
Floor3 sunsisi Posted 2005-11-24 19:20
初级用户 Posts 8 Credits 142
Many thanks for the guidance, I'll go back and try it.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023