Boot Directly into c++ program

This is a discussion on Boot Directly into c++ program within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Is there any way to directly boot into an .EXE, like creating a MSDOS boot disk with such files as ...

  1. #1
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405

    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
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    What command would load a file (.exe) automaticly??

  4. #4
    Satan valar_king's Avatar
    Join Date
    Aug 2001
    Posts
    288
    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
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    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, 10: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21