@echo off
cls
echo java -jar crawler-1.0.jar
echo Press ENTER to continue
pause > nul
<insert command to execute here after user press a button>
- line = standard start of batch-file
- line = clears the screen so that only your wanted text will appear
- line = displays the text you wanted
- line = tells the user what to do (it will actually activate regardless of key entered; you can't choose that) [optional of course]
- line = regular pause command - > nul does only hide the "press a key" in favour of your 4th line custom message, or no message at all
- line = enter your desired run code
I can't comment, so answer to comment question is here:
@echo off
:start
cls
echo java -jar crawler-1.0.jar
echo Press ENTER to continue
pause > nul
<insert command to execute here after user press a button>
goto start