What does :: (double colon) mean in DOS batch files? -
i found program http://baiyunmanor.com/blog/work/get-current-date-time-in-dos-batch-file/
but don't know line
:: datetime.bat
at end mean?
::
(also called comment label) comment rem
is.
there differences between them. main ones are:
- with
echo on
rem
line showed not line commented::
- a
::
can execute line end caret (that is,^
@ end of line starting::
makes next line comment). - labels ,
::
have special logic , can cause problems in parenthesis blocks - take care when using them inside(
)
.
Comments
Post a Comment