(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.batBut 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.
更多推荐
发布评论