Jump to content
LaunchBox Community Forums

Cannot launch a game with a quote in the name?


Retrofrogg

Recommended Posts

I added some MSDOS games to Launchbox - the King's Quest series. When I try and run one I get the error message:

Because of a limitation with DOSBox's command line usage, Launchbox cannot launch games with a single-quote (') character in the folder structure or file name. Please either move the game to a folder that does not contain single-quote characters in it (or its parents), or leave the application path blank and manually run the game in the DOSBox configuration file's [autoexcec] section.

Is this expected behaviour? Do I really have to rename all my DOS games which contain a single quote to get this to work? Thanks!

Link to comment
Share on other sites

Sadly, yes you do. It's a limitation of DOS. What you could do, is try and grab DOSBox LFN (Long File Name), and replace the default DOSBox in LB with that one. It provides a ton of improvements, and I think it removes restrictions like that. You could also try a program that batch renames, and replace ' with a space or nothing. 

Link to comment
Share on other sites

There are a ton of different DOSBox builds that are technically better, but this is one that we for sure can distribute with LB. Not to mention, I'm not sure Jason was completely aware of the different versions at the time, and some versions do have different commands for different functions. For example, DOSBox Daum doesn't work when installing a DOS game via ISO or Disc inside of LB, the commands are slightly different. So it would require a decent amount of time to swap over. A user changing the version of DOSBox isn't too hard, but some versions like DOSBox-x (the version I want to use) doesn't quite work with LB. The DOSBox SVN builds (which DOSBox-x is based on, but with more features), should work and provide a more up-to-date vanilla-ish DOSBox experience, and should be fine. Even DOSBox LFN may have some quirks that I don't know about, when trying to use it with LaunchBox, so sometimes things may not function properly (like installing a game from a Disc).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...