会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大哥超帅
博客园
首页
新随笔
联系
管理
2019年7月1日
解决java执行 cmd命令报错Exception in thread "main" java.io.IOException: Cannot run program "xxxx": CreateProcess error=2, The system cannot find the file specified
摘要: 在需要执行的cmd命令头部添加“cmd.exe /c ”字符串,比如原来需要执行“start xxx.bat”,修改之后的命令为“cmd.exe /c start xxx.bat”;这样就可用例如 方法来启动它
阅读全文
posted @ 2019-07-01 15:49 大哥超帅
阅读(8286)
评论(0)
推荐(0)
公告