How to create an infinite loop in Windows batch file?

前端 未结 6 2233
遥遥无期
遥遥无期 2020-11-28 02:50

This is basically what I want in a batch file. I want to be able to re-run \"Do Stuff\" whenever I press any key to go past the \"Pause\".

while(true){
            


        
6条回答
  •  执笔经年
    2020-11-28 03:09

    Unlimited loop in one-line command for use in cmd windows:

    FOR /L %N IN () DO @echo Oops
    

提交回复
热议问题