In DosBox, a label in a batch file who's line starts with a
space doesn't work. Hard to explain, easy to show.
IF EXIST CONFIG.CFG GOTO :RUN
(The base idea being if a game's config file doesn't
exist, it should run the setup program first, then the
Notice that the label lines (":RUN" and ":SETUP")
start with a space.
In real dos, this works fine (and looks nicer too, making
it easier to edit & debug complex batch files). In
DoxBox, I would get a "Label RUN not found".
Yes, removing the spaces makes the batch file work in
DosBox, but seeing as how I have about 15 years worth
of batch files written this way (I go way back - I learned
this trick from PC Magazine in the 286/386 days), this
is a bit of a problem. :-)