问题描述
我的Java应用程序运行一组是在一个批处理文件(.bat文件)present命令启动。我导入到Eclipse工作台本。我如何执行从Eclipse中的批处理文件。到那个在命令行类似,我直接给路径:\\ myBatchfile.bat。有什么办法,我可以直接从Eclipse的事情。
My Java application is started by running a set of commands that are present in a batch file (.bat file). And I imported this into Eclipse workbench. How do I execute the batch file from Eclipse. Similar to the one in command line, I directly give "path:\myBatchfile.bat". Is there any way I can do directly from Eclipse.
推荐答案
您可以使用打电话给你的.bat文件的<一个href=\"http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/concepts-exttools.htm\">External工具功能(在运行菜单)。
You can call your .bat file using the External Tools feature (in the Run menu).
例如:
这篇关于如何从Eclipse运行一个批处理脚本(.bat文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!