News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

[Solved] How do I set the (Executing in [dir]) directory?

Started by AngleWyrm, November 04, 2007, 12:39:52 PM

Previous topic - Next topic

AngleWyrm

I would like the compiled exe to run in a specific directory. Note that this is different from the exe being placed in that directory--which it does do.

Here is a paste from the build log:

Executing: "E:\Prog\CodeBlocks/cb_console_runner.exe" "d:\games\nethack\DeathSig.exe"  (in E:\Prog\Projects\DeathSig\.)
Process terminated with status 0 (0 minutes, 7 seconds)

The source code is in one place, and the exe is in another. How do I get the 'current directory' to be d:\games\nethack\ instead of e:\Prog\Projects\DeathSig\ when Code::Blocks executes the project?

mandrav

Project->Properties->Targets->[select your target]->Working directory.
Be patient!
This bug will be fixed soon...