使用.bat批处理文件 运行 Java程序 新建 .bat文件 填入 下面 内容 cd d: cd JavaAppMscDemo_jar201016MscDemo_jar java -jar MscDemo.jar pause 其中 MscDemo.jar 为要运行的 Java程序