First post, by Menoetius
So I've encountered a problem I can't seem to find a solution to anywhere:
I want to create a .bat file that launches dosbox with arguments what have multiple space characters in them.
In run.bat, I've done the following:
SET path="C:\Program Files (x86)\Steam\steamapps\common\Doom 2\base"
dosbox -c mount "g %path%"
Which results in DOSBox only parsing mount g and not the directory
The following only results mount being parsed:
dosbox -c mount g C:\Program Files...
dosbox -c mount g "C:\Program Files (x86)\"
dosbox -c mount "g C:\Program Files (x86)\"
dosbox -c "mount g C:\Program Files (x86)\" results in Directory C:\Program doesn't exist.
dosbox "-c mount g C:\Program Files (x86)\"results in DOSBox intuitively not recognizing any of it
dosbox -c mount g "%path%" somehow doesn't even launch DOSBox
Does anyone have any solutions for this? Its driving me nuts.