Wait for an input BATCH -
Do I want to wait for some time input to have a bat file. If there is no input then I want to get it some adee
Even so far I have.
@echo off: START cls timeout 10 sets input = set / p input = amount of RAM: '% input%' == '% input%' Geto CraftBookKit: Fallback "C: \ Program Files \ Java \ jre7 \ bin \ java.exe "-Xmx4G -jar"% ~ dp0craftbukkit Jar ": CRAFTBUKKIT" C: \ Program Files \ Java \ jre7 \ bin \ java.exe "-Xmx% Input% G - Jar "% ~ dp0craftbukkit.jar" GARTA START
options
Use / t
with command:
@echo off: START cls errorlevel = 0 option / i "message:" / t10 if '% errorlevel % '=='% 0% 'Geto CraftbookKit: Faw Back "C: \ Program Files \ Java \ jre7 \ Bin \ java.exe" -Xmx4G -jar "% ~ dp0craftbukkit.jar": CRAFTBUKKIT "C: \ Program Files \ Java \ jre7 \ bin \ java.exe" -xmx % Input% G -jar "% ~ dp0craftbukkit jar" Geto Start
To learn more in CMD, likes /? Type
.
Comments
Post a Comment