Question : comment in batch
Answered by : maou-shimazu
:: This is a comment.
@Rem Also a comment.
Source : | Last Update : Mon, 07 Mar 22
Question : batch file comment
Answered by : richard-lievesley
Use :: or REM
Eaxmple:
:: comment goes here
REM comment goes here
Inline comments:
commands go here & :: comment goes here
Source : https://stackoverflow.com/questions/11269338/how-to-comment-out-add-comment-in-a-batch-cmd | Last Update : Thu, 29 Sep 22
Question : comment line bat file
Answered by : riccardo-biffi
:: This comment WON'T BE printed during execution
REM This comment WILL BE printed during execution, REM is a command like echo
Source : | Last Update : Tue, 04 Oct 22
Question : batch file comment after command
Answered by : clear-cat-nf89is0h1b9c
:: This is a comment
REM This is also a comment
echo Hello world & :: This is an inline comment
Source : https://stackoverflow.com/questions/11269338/how-to-comment-out-add-comment-in-a-batch-cmd | Last Update : Wed, 15 Dec 21
Question : batch comment out a line
Answered by : richard-lievesley
'Simply add :: before the offending line'
Example:
echo this will print
:: echo but this wont
Source : | Last Update : Thu, 29 Sep 22