//java使用命令行调用vbs脚本 String[] Cmd = new String[]{"wscript", "vbs的路径"}; Process process = Runtime.getRuntime().exec(Cmd); process.waitFor();