1.调用系统打开文件
File file=new File(filePath);
Runtime runtime = Runtime.getRuntime();
runtime.exec("rundll32 url.dll FileProtocolHandler "+file.getAbsolutePath());
File file=new File(filePath);
Runtime runtime = Runtime.getRuntime();
runtime.exec("rundll32 url.dll FileProtocolHandler "+file.getAbsolutePath());
1565

被折叠的 条评论
为什么被折叠?



