The Runtime.exec methods on NT do not quote their arguments. They simply concatenate them into a command string. If an argument contains white space, it will be interpreted as two separate arguments by the spawned subprocess.
Comments
WORK AROUND
There is no workaround for this. In JavaSafe, we implement a native call to spawn a subprocess.
11-06-2004
SUGGESTED FIX
We have example code in JavaSafe, if you'd like to look at how to do this in NT.