Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Current Directory Nightmare?

Author
Message
Kale
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 13th Sep 2002 15:48
I am having a real problem when first running a program looking for media. i am working in a folder named test on the desktop and i have the media in folders named something like 'images', 'sound' etc... but when i first load the program to create an .exe it always complains i have it can't find the media! i have to code 'set dir "C:\Documents and Settings\me\Desktop\test\"' to turn the current dir to there so i can run the program, any ideas why i have to do this? the CD always seems to point the DBPro installation folder and not the .exe thats currently being produced, any ideas?
What the flame does not consume, consumes the flame.

Login to post a reply

Server time is: 2024-04-23 18:50:12
Your offset time is: 2024-04-23 18:50:12