Log in

View Full Version : Set Working Directory


eet_1024
December 4th, 2003, 18:29
Is there a way to have OllyDbg set the working directory of an app to something other than the directory that the app lives in?

currently I have to have my app do a
<pre> invoke SetCurrentDirectory, "E:&#92;Some Directory"</pre>

focht
December 23rd, 2003, 12:45
Greetings!

Seems you are right ...
Ollydbg doesnt have an option to set the process working directory yet (i didnt found it).

Should be included in next version
Suggestion: File -> Open -> "Open 32-bit exe file" dialog:

Add another edit control (with browse directory button to the right) below the "arguments" edit control.
This would just conform with microsofts windbg and possibly other gui debuggers.

Regards,

A. Focht