spaces in JVM arguments
843811May 2 2005 — edited May 3 2005On Windows, I want to hand a directory path to the JVM in the following way
java -Dworking.dir=<mydir>
Unfortunately, the <mydir> is provided by the %USERPROFILE% environment variable and
contains whitespace (c:\documents and settings\username). How can I quote this argument to prevent the JVM from complaining about the bad option 'and' which supposedly starts after the first whitespace?
Thanks a lot
Andreas