Thread: Boot Directly into c++ program

  1. #1

    Boot Directly into c++ program

    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 ?

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    28
    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
    curiousity killed the cat, but it
    makes for one hell of a programmer.

    Alien.

  3. #3
    What command would load a file (.exe) automaticly??

  4. #4
    Originally posted by Cgawd
    What command would load a file (.exe) automaticly??
    Um....
    Have you tried looking though "DOS for Dummies"?
    -Save the whales. Collect the whole set.

  5. #5
    thats cold, but i figured it out THANK YOU VERY MUCH

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  2. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  3. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  4. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM