Quote:
[Originally Posted by disavowed;87590]If you don't want to assemble in new code, you could launch OllyDbg in OllyDbg, break on CreateProcess(...) in the child OllyDbg, and modify lpCurrentDirectory. Still not ideal  |
Hm...problem in here is that you cannot debug created process immediately and you need to attach created process...

I guess best option right now is to assemble a small code to call SetCurrentDirectory and then recover old code again...
I wish this option were added to ollydbg v2.0, but it seems it this one is missing. but it is an easy one,but donna if I can add this option with a plugin or not.
EDIT:
I solved it using OllyScript.
Thanks for everyone's help and suggestion.
