public class TestFile {
public static void main(String args[]) {
try {
Process process = Runtime
.getRuntime()
.exec(
// "cmd.exe /c start http://www.sina.net");
"D:\\Program Files\\Microsoft Office\\Office10\\powerpnt.exe /s 1.pps");
// "C:\\WINDOWS\\system32\\rundll32.exe jpg.jpg");
} catch (Exception e) {
e.printStackTrace();
}
}
}