I want to make file.bat that should run my jar only when user press enter. Bat must run and does\'t execute anything without user press enter. In cmd should be printed:
@echo off
cls
echo java -jar crawler-1.0.jar
echo Press ENTER to continue
pause > nul
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
goto start