PDA

View Full Version : Boot Directly into c++ program



Cgawd
10-20-2002, 03:01 PM
Is there any way to directly boot into an .EXE, like creating a MSDOS boot disk with such files as autoexec.bat, command.com, config.sys, io.sys, msdos.sys ?

Alien_Freak
10-20-2002, 06:14 PM
you can...

you could write your own version of command.com

it's a program after all....

or just create a bootable floppy (format a: /s)
and change/create autoexec.bat

to run a single line...ie myprog.exe

shouldn't be too difficult...

you can delete config.sys, since you probably wont need most of the stuff it does.

autoexec.bat:
cd \progdir
myprog.exe

Cgawd
10-21-2002, 07:50 AM
What command would load a file (.exe) automaticly??

valar_king
10-21-2002, 03:37 PM
Originally posted by Cgawd
What command would load a file (.exe) automaticly??

Um....
Have you tried looking though "DOS for Dummies"?

Cgawd
10-21-2002, 04:15 PM
thats cold, but i figured it out THANK YOU VERY MUCH