很简单,有时却总忘记。
String path = "C:/Documents and Settings/Administrator/桌面/SPX Editor/ge.exe";
try
{
Runtime.getRuntime().exec("cmd /c start excel \"" + path + "\"");
} catch (IOException e) {
e.printStackTrace();
}
很简单,有时却总忘记。
String path = "C:/Documents and Settings/Administrator/桌面/SPX Editor/ge.exe";
try
{
Runtime.getRuntime().exec("cmd /c start excel \"" + path + "\"");
} catch (IOException e) {
e.printStackTrace();
}