Both REM and :: are commonly used to "comment out" a line in batch files, so what's the difference between them?
REM is the true "Remark" command. In other words it is treated as such and interpreted.
::, on the other hand, is an invalid label (a label starts with a colon) and is therefore simply skipped.
What this means is using REM is slower than using :: because :: means the line is skipped and the next is interpreted whereas with REM the line isn't skipped in the first place.
Thoughts?
No comments:
Post a Comment