Go Back   Forums > Abandonia.com > Games Discussion
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 07-11-2009, 09:24 PM   #1
Luchsen
Lurking Forever
 
Luchsen's Avatar

 
Join Date: Feb 2005
Location: Bad Konig, Germany
Posts: 3,565
Default

The EXE should open files relative to the directory itself is located. Anyway, the BAT can't change to the specified directory since it is (fortunately for the BAT) non-existent, and just runs the EXE which is (fortunately for the BAT) in the same directory as the BAT. But the main thing is to have a happy jonahjuice.
__________________
Luchsen is offline                         Send a private message to Luchsen
Reply With Quote
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
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Civilization Dave Troubleshooting 8 30-01-2006 07:01 PM
Civilization 4 swiss Gaming Zone 7 29-11-2005 04:49 PM
Civilization 1 Kreepah Troubleshooting 15 14-08-2005 08:38 PM


Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 03:44 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.