[英](CMD) i want to do something after exit
So I made something with java and when I run it it just works. 所以我用Java制作了一些东西,当我运行它就可以了。 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. 当我输入ingame / restart时,我的批处理文件关闭(这就是我想要的样子),但是我希望在我的批处理关闭后再次打开它。 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. 我如何使其能够正常工作。
Just remove exit
. 只需删除exit
。 It is sounds that you do not need it if you want your batch file to continue working. 如果您希望您的批处理文件继续工作,听起来不需要它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.