Briefly...
Content in comments is able to cause a syntactic (captured) error.
Code: Select all
set a=1
rem comment %a:=%
Code: Select all
set a=1
:: comment %a:=%
Code: Select all
:: comment ^
echo 1
echo 2
:: comment ^
echo 3
echo 4
Moderator: DosItHelp
Code: Select all
set a=1
rem comment %a:=%
Code: Select all
set a=1
:: comment %a:=%
Code: Select all
:: comment ^
echo 1
echo 2
:: comment ^
echo 3
echo 4