Thread: Civilization
View Single Post
Old 08-11-2009, 05:14 PM   #2
DOS dinosaur
Abandonia nerd
 
DOS dinosaur's Avatar

 
Join Date: Oct 2009
Location: Kingston, United States
Posts: 72
Default

Quote:
Originally Posted by Luchsen View Post
The EXE should open files relative to the directory itself is located.
Not necessarily... this is why batch files that were provided to start games from the root dir ("c:\" etc.) always changed to the appropriate game directory first.

You can test this somewhat if you have access to a DOS machine or a win3x/9x DOS window. Create a batch file containing only the DIR command, and put it in a subdir, then run it from the root dir. You'll find it list files in the root dir rather than in the subdir the batch file is located in.

As for DOSBox, I'm not sure (haven't really needed it with a '98SE machine), but if it truly emulates DOS, then I'd think the same principle would apply.
__________________
~ Mac ~

"At game's end, king and pawn go in the same box."
DOS dinosaur is offline                         Send a private message to DOS dinosaur
Reply With Quote