I am trying to use the exec function. The path to the executable contains spaces and this is giving me grief My code looks like this
Runtime.getRuntime().exec("\"C:\\Program Files (x86)\\ASL\\_ASL Software Suite_installation.exe\"", null, new File("\"C:\\Program Files (x86)\\ASL\\_ASL Software Suite_installation\""));
When this is executed I get an exception -
Cannot run program ""c:\Program"
I would be grateful if someone can give me some help in solving this
Thanks in advance