Hi All,
I am involved in an application where i need to run exe file thru
java but the problem is if the directory has spaces between it like d:\Progam Files it doesnot run. So while running it only checks d:\program and not d:\program files, my code is Like this :
String sysCommand = new String("cmd /c start Synlook -F SyncXML.xml -A Import");
...
...
Runtime r = Runtime.getRuntime();
Process p = r.exec(sysCommand);
synlook is my exe file and rest are parameters.
prashant