AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to comment in bat file2/17/2023 ![]() ![]() An important limitation of this is that as a label it can only be used at the beginning of the line. The double-colon :: is not documented as a comment command. The blank lines are ignored when processing Double colons act like a GOTO or CALL :label the second colon is invalid as a name but is still treated as a label, and so the line is always skipped.Įcho Hello REM This remark is displayed by echoĮcho Hello & REM This remark is ignored by echoĬopy work.xls backup.xls &:: We backed up the fileĪlthough you can use REM without a comment to add vertical spacing to a batchįile, you can also use completely blank lines. The start of a line, this has a similar effect to REM. REM at the start of a line signifies a comment or REMARK. ![]()
0 Comments
Read More
Leave a Reply. |