(CMD)退出后我想做点什么((CMD) i want to do something after exit)

系统教程 行业动态 更新时间:2024-06-14 17:03:54
(CMD)退出后我想做点什么((CMD) i want to do something after exit)

所以我用java制作了一些东西,当我运行它时它就可以了。 当我键入ingame / restart时,我的批处理文件关闭(这就是我想要它的方式),但是我希望在我的批处理关闭后它再次打开。 所以它会是这样的:

@echo off title WeLive4Pk color 5d java -Xmx1300m -cp data/CompiledFiles;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server exit start 2.run.bat

但退出后你无能为力,所以我想问你。 我怎样才能使它发挥作用。

So I made something with java and when I run it it just works. When I type ingame /restart, my batch files closes(that's how i want it to be), but i want that after my batch closes it opens up again. so it would be something like this:

@echo off title WeLive4Pk color 5d java -Xmx1300m -cp data/CompiledFiles;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server exit start 2.run.bat

But after the exit you can't do anything so I want to ask you. How can I make it that it will work.

最满意答案

只需删除exit 。 如果您希望批处理文件继续工作,则听起来不需要它。

Just remove exit. It is sounds that you do not need it if you want your batch file to continue working.

更多推荐

本文发布于:2023-04-24 14:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/6817b3a33939904c70837b9ebc0c7387.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我想   做点什么   CMD   exit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!