How in the bat file to make so that after the execution of the bat file is not closed?
- Possible duplicate question: How to make an infinite loop in cmd? - Qwertiy ♦
|
1 answer
You can put something from this in the last line:
pause cmd Or run like this:
cmd /k smth.bat or even so (if he sometimes does exit ):
cmd /k cmd /c smth.bat - problem: it writes To continue, press any key. . . - LGPvS
- And what does not suit? - Qwertiy ♦
- Download and open this file: drive.google.com/file/d/0B2COSiDn1YVGTEtwSHZiSUZDOGc/view - LGPvS
- one@LGPvS if you need to get rid of the message about the key, pause> nul - MSDN.WhiteKnight
- it closes anyway - LGPvS
|