Computing.Net > Forums > Disk Operating System > autoexec to boot windows or dos based software

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

autoexec to boot windows or dos based software

Reply to Message Icon

Name: Jim
Date: January 24, 2001 at 12:45:07 Pacific
Comment:

Does anyone know how or where I may find out
how to set up an auotexec.bat file which will
prompt a user to select booting windows versus booting a DOS based software program?
Have a laptop running W95(Version 4.00.1111)with a program which runs in DOS and I'd like the opportunity to load the DOS program when the computer is turned or load windows. That way I don't have to shutdown and reboot in DOS mode to access the program.
Appreciate any help offered.
Thank you,
jim



Sponsored Link
Ads by Google

Response Number 1
Name:
Date: January 24, 2001 at 13:21:57 Pacific
Reply:

I have not got time to do so, But obtain a copy of the Windows 95B Bootdisk from www.bootdisk.com and study how the start menu is put together. It gives the option of CD-ROM support or not, This is a basic MS-DOS menu layout.


0

Response Number 2
Name: Ayexby
Date: January 24, 2001 at 17:55:17 Pacific
Reply:


The following is how I have always done it:

1. Obtain access to MSDOS.SYS in the root of drive c as follows:
ATTRIB -S -H -R MSDOS.SYS

2. edit msdos.sys using the dos editor:
EDIT MSDOS.SYS
change BOOTGUI=1 toBOOTGUI=0
and save the file.

3. Reset the attributes using:
ATTRIB +S +H +R MSDOS.SYS

4. Now, you can leave autoexec.bat alone and type WIN at the command prompt to start windows, OR add the following to autoexec.bat:

echo Start Windows?
choice/cyn
if errorlevel 2 goto dos
win
:dos
rem end of file


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


where to learn batch/scri... Help files for DOS



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: autoexec to boot windows or dos based software

How to boot up Dos 7.10 in windows 98 www.computing.net/answers/dos/how-to-boot-up-dos-710-in-windows-98-/3113.html

Basic DOS Boot Disk Help? www.computing.net/answers/dos/basic-dos-boot-disk-help/2888.html

dos stuff www.computing.net/answers/dos/dos-stuff/4920.html