HomeScreensavers Planet  »  Help  »  Message Board  »  Runexit

Runexit

When I run DOSBox after adding the extra text in the configurations notepad file it says it: Cannot find file 'runexit' specified on the command line (or one of its components). Check to ensure the path and filename are correct and that all required libraries are available.

Linked pages

Jordan3 months agoWindows 10 x64, Google Chrome


8 replies

  • Hello Jordan,

    Please double-check that "runexit" is spelled correctly (i.e. RUNEXIT) with no spaces inbetween. The line in the configuration file should read as follows:

    win runexit c:\windows\scrantic.exe /s

    I often prefer copying and pasting the text into the DOSbox Options file, just in case.

    The error message is thrown by Windows 3.1, so everything works until the "runexit" part. However, the runexit program is included with Windows so unless the file has somehow been deleted, Windows should always be able to find it.

    (You can optionally confirm this by double-clicking the Program Manager at the bottom left of the screen after you've seen the error message. Then double-click the File Manager, then the "Windows" folder on the "c:\" drive. In the long list of files that appears, "runexit.exe" should be listed below "rivets.bmp".)

    You write the name correctly in your message above, but since I can't really think of another reason why that error would be thrown, I hope it's as simple as a misspelling in the DOSBox configuration file. If not, I'll keep looking.

    Rob (Screensavers Planet)3 months ago

  • Hello, thanks for the reply, yeah I copied and pasted everything and I went back on and checked the Program Manager and it did not have runexit.exe below rivets.bmp. Does this mean that I need to move something or?

    Jordan3 months ago

  • But you do see rivets.bmp? How strange that runexit.exe is missing.

    Could you try repeating step 2.3 of the tutorial?

    Here's what I see in the File Manager:

    runexit.exe in the Windows 3.1 file manager

    A moderator edited this post 3 months ago: Added screenshot.

    Rob (Screensavers Planet)3 months ago

  • Hi, so I went ahead and checked again. I do have rivets.bmp. I went ahead and just played around with it, I just took the runexit from the dosbox - dosbox folder and moved it to the "WINDOWS" folder that is also on my dosbox mainfolder... however... whenever I opened up DosBox instead of saying it can't find anything it just shows a blank Windows 3.1 screen with the icon on the bottom left. So it didn't say it couldn't find anything it just went to a blank screen. So I moved it back to where it originally was?

    Jordan3 months ago

  • I also did retry step 2.3 and nothing changed.

    Jordan3 months ago

  • If you open up the parent dosbox folder in the File Explorer, it should look like this:

    Contents of the dosbox folder in the File Explorer

    (If you also follow step 4 of the tutorial, there may be extra folders starting with SB.)

    So there should not be a "dosbox - dosbox folder". It's probably best to delete the parent dosbox folder, then re-extract it from the ZIP file as per 2.3. You should then end up with the folder C:\dosbox, containing the files shown above.

    The runexit.exe file is included with the Windows folder in the ZIP file, so extracting it as-is should preserve that structure. Unless something like an anti-virus program interferes for some reason and deletes the file, but that seems rather unlikely.

    Rob (Screensavers Planet)3 months ago

  • Thanks a ton! Yeah... on my C Drive the way it extracted for some reason was DosBox and then another DosBox folder with the stuff all in that one. But I had to extract and then move the files to the mail folder and delete the extra dosbox folder (since it didn't do it on its own for some reason) and now it works! Thanks a ton!

    Jordan2 months ago

  • Glad that did the trick! Enjoy the screensaver.

    Rob (Screensavers Planet)2 months ago

Post a reply

Lock This post was automatically locked to new replies after 30 days of inactivity.

Please start a new post on the message board if you need our help.