Thread: Civilization
View Single Post
Old 12-11-2009, 06:11 PM   #281
Eagle of Fire
Friendly Fire
 
Eagle of Fire's Avatar

 
Join Date: Sep 2004
Location: Valleyfield, Canada
Posts: 4,892
Default

Lets be clear here folks: a batch file (.bat) is a command file in text form which execute every line which is written in the batch file one after the other just like if you were typing it by yourself.

The only difference between a batch file and the same commands that you would type by yourself is speed.

The only way that what been described above would work to prevent a game to be able to access its own directory would be to write the batch file in such a way that instead of using the CD commands you access the executable file (.exe) directly. Like for example by typing
Code:
c:\oldgames\whatever\whatever.exe
instead of
Code:
cd c:\oldgames\whatever\
whatever.exe
The difference between the two is that the first example allow you to call a program from another directory without having to change the directory you are currently using while the second example change the directory you are currently using to the target directory of the executable you wish to run.

-EoF
__________________
I'm on a hot streak... Literally.
Proud member of The Abandoned since 2005.
Eagle of Fire is offline                         Send a private message to Eagle of Fire
Reply With Quote