WAJSBERG Julien RD-BIZZ wrote:
You can use quotes around classpaths, too :
java -cp "%CLASSPATH_WITH_SPACES%" org.java.program
Or use short names of these directories (like "c:\Progra~1" for "c:\Program Files"); but I prefer the first solution, if it works :)
hm, yes, maybe :-)
But I just so much prefer a "clean" solution - which is having no spaces in at all in the beginning, so ANY workaround becomes unncecessary, and cannot come back to you later ... :))
ciao & thanks,
Axel.