FreeDOS: Bad or Missing Command Interpreter Error

  • Release Candidate 6
    Guest:
    We are at a “proposed final” true release candidate with nothing known remaining to be changed or fixed. For the full story, please see this page in the "Pre-Release Announcements & Feedback" forum.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in:

    This forum does not automatically send notices of new content. So if, for example, you would like to be notified by mail when Steve posts an update to his blog (or of any other specific activity anywhere else), you need to tell the system what to “Watch” for you. Please checkout the “Tips & Tricks” page for details about that... and other tips!

    /Steve.

rando

New member
Aug 6, 2023
4
1
Hello Everyone.

This is my first time posting here, so I apologize if there is a more appropriate place to ask this. I am having issues getting Spinrite to boot. I keep getting the following error:

"Bad or missing Command Interpreter: - /P /E:256
Please enter the correct location (for example C:\COMMAND.COM):"

I have tried reinstalling Spinrite on the USB drive, and it says that it installed successfully. Has anyone else ran into this or have any advice on how to fix this?

1691338527702.png
 
Last edited:
How did you make the USB drive? It seems like it's missing COMMAND.COM. You can try using the GRC utility InitDisk ( https://www.grc.com/initdisk.htm ) and supplying the FREEDOS command line option to install a bootable FreeDOS environment on the USB stick. Then just copy your SpinRite.exe onto that disk.

Thanks. I'll give that a shot. I used the SpinRite program to make the USB drive. Is that not the correct way to do it? It seems to be letting me attach screenshots now, so I've added them to this reply.


1691338330315.png

1691338417116.png
 
Well I suspect that should work, BUT SpinRite 6 is from 2003 or so, and PC's have moved on a fair ways since then. Perhaps there's some sort of weird incompatibility you've run into. Certainly SpinRite 6.1 will have newer tech, as it will have the functionality of the utility I linked above (InitDisk) built it. (InitDisk was actually built as a test of that new tech with the intention to include it into SpinRite 6.1.)
 
Well I suspect that should work, BUT SpinRite 6 is from 2003 or so, and PC's have moved on a fair ways since then. Perhaps there's some sort of weird incompatibility you've run into. Certainly SpinRite 6.1 will have newer tech, as it will have the functionality of the utility I linked above (InitDisk) built it. (InitDisk was actually built as a test of that new tech with the intention to include it into SpinRite 6.1.)
Is there a trick to adding the freedos token when using InitDisk? The only thing it will let me type is NUKE.
 
freedos token
You need to invoke it from the command line. Bring up a CMD window, then invoke InitDisk FREEDOS on the command line. (You may need to CD (change directory) to where the InitDisk command is first so it is found in the current directory/path.) You will need to invoke the CMD Window with administrative rights or else you will see the error message I show below. If you need help elevating the CMD prompt, press and release the Windows key on your keyboard, type the letters C M D and then it should look like what I depicted in the attached picture, and click on the highlighted option.
 

Attachments

  • PHolder_2023Aug08_InitDiskFromCommandLine.png
    PHolder_2023Aug08_InitDiskFromCommandLine.png
    10.6 KB · Views: 128
  • PHolder_2023Aug08_HowToElevateACommandPrompt.png
    PHolder_2023Aug08_HowToElevateACommandPrompt.png
    96 KB · Views: 131
You need to invoke it from the command line. Bring up a CMD window, then invoke InitDisk FREEDOS on the command line. (You may need to CD (change directory) to where the InitDisk command is first so it is found in the current directory/path.) You will need to invoke the CMD Window with administrative rights or else you will see the error message I show below. If you need help elevating the CMD prompt, press and release the Windows key on your keyboard, type the letters C M D and then it should look like what I depicted in the attached picture, and click on the highlighted option.
That did the trick. Thank you!
 
  • Done!
Reactions: PHolder