rem comment=1 rem 'echo' is word=2, 'a' is default=0 echo a rem label=3 :START rem '@' is hide=4 @echo b rem 'gcc' is external command=5 gcc --version rem '%PATH%' is variable=6 echo %PATH% echo %ProgramFiles(x86)% rem operator=7 '=' @set Q=A rem 2nd ')' in this construct is wrongly styled as default if ERRORLEVEL 2 goto END @if exist a ( echo exists ) else ( echo not ) FOR /L %%G IN (2,1,4) DO (echo %%G) :END