Before and after the execution path with quotation marks: Process process = Runtime.getRuntime().exec("cmd /c start " + "\"\" \"" + locationCmd + "\"");
java call cmd command execution path to solve the encountered spaces
Guess you like
Origin blog.csdn.net/weixin_39654286/article/details/94733180
Ranking