How to replace with my version of ?

Discussion in 'Computer Support' started by bas, Nov 30, 2006.

  1. bas

    bas Guest

    I have developed my own version of using a C program which
    interprets commands. And I converted into com file and replaced into a
    bootable floppy disk instead of original Now, I would like
    my version of to be executed, when I start from floppy. But
    it doesnt recognize my and shows "invalid boot disk".
    How I can resolve this ?
    Thanks in advance...
    bas, Nov 30, 2006
    1. Advertisements

  2. bas

    Mr. Arnold6 Guest

    You drop it and leave it alone before you shoot yourself in your foot.
    Mr. Arnold6, Nov 30, 2006
    1. Advertisements

  3. bas

    Pennywise Guest

    Download a boot disk
    place your in a directory of your choice.

    to the autoexec.bat add: SET COMSPEC=<path>

    my old one: SET COMSPEC=G:\dos\COMMAND.COM
    Pennywise, Nov 30, 2006
  4. bas

    Tester Guest

    Hmm - from the line

    X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT

    in your headers you seem to be using XP aka Windows NT 5.1.

    So why are you using instead of the much better cmd.exe?

    Try the following. Run Control. If you're in category view of control,
    c hoose "Performance and Maintenance". Now choose "System".

    Take the advanced tab and hit the "Environmental Variables" button.

    Under "System Variables", edit ComSpec so it points to your new
    command interpreter program.

    By the way, there's a shareware replacement for and
    cmd.exe at Their improvement is quite an
    improvement from the standard version but cmd.exe has at least some of
    their improvements.

    Also, some people use some version or other of Unix shells such as
    bash and at least some of these are free with free source code which
    might be of interest to someone who has written a command interpreter.
    Tester, Nov 30, 2006
  5. Fix the problem with the bootstrap.

    If it wasn't recognizing your version of COMMAND.COM, you'd be getting




    You get the latter because there's no boot blocks with valid boot code on
    the diskette!

    I'll add - if you can't logically follow that from the error message, why
    are you trying to write a command interpreter? Your logical comprehension
    is somewhat ... at doubt.

    Ralph Wade Phillips, Dec 1, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.