The Daily Click ::. Forums ::. Klik Coding Help ::. how do you code external files that are on a cd if you don't know what drive letter the users cd is in
 

Post Reply  Post Oekaki 
 

Posted By Message

Dov Bha



Registered
  16/01/2006
Points
  4
16th January, 2006 at 21:27:25 -

how do you code external files that are run off a cd if you won't know which drive the user will put the cd into

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
16th January, 2006 at 21:30:16 -

appdrive$ + appdir$ + "filename.exe"

 
n/a

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
17th January, 2006 at 01:24:51 -

that works for saving INIs, but for running external programs (in TGF atleast) it doesn't work. And don't say "Yes it does you just suck) because I have tried and it did not work.

 
n/a

mushi-games



Registered
  17/02/2005
Points
  136
18th January, 2006 at 00:37:13 -

Come on guys, READ his question.
More specifically, you need the file object, and you need to use the "Get cd-rom drive directory from label" function in an expression.
So you can retrieve the root of a particular cd that's inserted. It's the only way to do what you want, if the game is elsewhere and the files could be on any external drive. Enjoy


 

He did harken unto her, "hark hark," harkened he.

http://www.freepgs.com/mushi/
   

Post Reply



 



Advertisement

Worth A Click