Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Run an application in specific folder?

(1/1)

MortenMacFly:
Dear all,

I've gotten a new project whose executable depends on several configuration and data files which are in sub-folders of the executables folder. The application uses relative path's to access these files. Now for development I don't want to make a copy of all those sub-folders (they are too big, about 1,5GB). But I also don't want to replace the current executable. Want I want to do is to run the new application in the directory where the old (!) application is.
Is this already possible? As far as I understand the application is called within the executables output directory.
If this is not possible: Do you agree that this would be a nice-to-have?
I'm already thinking about how to implement this, e.g. as another parameter in the "Run" (Select Target) dialog. This may require an additional parameter in the project file, similar to "<Option parameters="MyParam" />", so for example "<Option exec_path="D:\WhereEver\MyApp\Is" />".
How do you think about that?
With regards, Morten.

Edit: ...forget about it - I'm just blind. Thanks Defender... ;-)

Defender:
Hello!

Not sure, if I understand you correctly, but there is an "Execution Working Dir" option under Project->Properties->Targets.
There you can specify, in which folder the app should execute.
Or am I missing something?  :)

Regards, Defender.

MortenMacFly:

--- Quote from: Defender on May 22, 2006, 07:24:12 pm ---Or am I missing something?  :)

--- End quote ---
...no. I just have overseen this. I'm using C::B such a long time now and it's still not long enough to realise new (cool!) features... :oops: :D :lol:
Thanks!!!

Defender:

--- Quote from: MortenMacFly on May 22, 2006, 07:29:05 pm ---
--- Quote from: Defender on May 22, 2006, 07:24:12 pm ---Or am I missing something?  :)

--- End quote ---
...no. I just have overseen this. I'm using C::B such a long time now and it's still not long enough to realise new (cool!) features... :oops: :D :lol:
Thanks!!!

--- End quote ---
I'm glad I could help you ;)

Navigation

[0] Message Index

Go to full version