- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 Java中取得当前系统环境并执行命令的方式
Windows: batfilePath=this.getClass().getResource("/do.bat").getPath().replaceAll("%20", " ").substring(1).replace("/", "\\");ps = Runtime.getRuntime().exec("cmd /C start ...
2014-10-29 20:54:54 540
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人