Java 打开磁盘文件
//如下打开的是C盘
String path="c:\"
Runtime runtime= Runtime.getRuntime();
Process process=null;
path = "rundll32 url.dll FileProtocolHandler file://" + path;
System.out.println("File:"+path);
String cmd=path;
try {
process=runtime.exec(cmd);
} catch(Exception e){
}