Changing the working directory

webmasterbeta

New Member
Hi all,I want to change the current directory to start commands withRuntime.exec() at a specified position. Starting the commandwith its full path name is not acceptable because of itsarguments. I tried to set the property "user.dir" withSystem.get/setProperties(), but this has no effect. I amworking with jdk1.1.8.Does anybody know how to change the working directory?Thanks in advance,J鰎g
 
Back
Top