문제 설명
::pause >nul은 무엇을 의미합니까? (배치로) (What does ::pause >nul mean/do? (in batch))
현재 일괄 AI 작업을 하고 있습니다. 이전에 ::pause >nul을 사용한 적이 있지만 정확히 무엇을 하는지 잘 모르겠습니다. 모든 답변에 감사드립니다.
참조 솔루션
방법 1:
::
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.
</ul>
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.
(by user5617026、Dennis van Gils)