What does ::pause >nul mean/do? (in batch)
17,299
::
means that the current line is a comment (it actually is an invalid label which works the same as a comment)pause
pauses the script untill the user presses a key>nul
redirects output to nothing.
This means that this is an outcommented pause that doesn't show the press any key to continue . . .
message to the screen, so it doesn't do anything.
Author by
Admin
Updated on June 27, 2022Comments
-
Admin almost 2 years
I'm currently working on an AI in batch, I've used ::pause >nul before but I'm not exactly sure what it does. All answers are appreciated