PDA

View Full Version : Working directory


margre
05-12-2009, 09:50 AM
I want to execute the patch from a temp directory while current working directory is the target software path. If I do that it says software not found, seems like it always sets current directory to a temp folder.
Do I really have to send the path I want it to work in as an argument?
Or is there a way to prevent it from setting the current directory?

jassing
05-12-2009, 06:41 PM
You'd need to code that; however, I wouldn't trust the "working directory". I would use a directory that I specify in code...