China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-29 11:48
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to choose at startup between pure DOS software and W98 in AUTOEXEC.BAT View 850 Replies 2
Original Poster Posted 2005-11-23 23:45 ·  中国 河南 洛阳 联通
初级用户
Credits 142
Posts 8
Joined 2004-02-01 00:00
22-year member
UID 16476
Gender Female
Status Offline
How can I make it possible to choose at startup between pure DOS software and W98 in the AUTOEXEC.BAT batch file?
Floor 2 Posted 2005-11-24 17:42 ·  中国 北京 联通
高级用户
★★
Credits 652
Posts 193
Joined 2005-09-25 00:00
20-year member
UID 42822
Status Offline
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 ]
Floor 3 Posted 2005-11-24 19:20 ·  中国 河南 洛阳 联通
初级用户
Credits 142
Posts 8
Joined 2004-02-01 00:00
22-year member
UID 16476
Gender Female
Status Offline
Many thanks for the guidance, I'll go back and try it.
Forum Jump: