BATCH ist DIE Skriptsprache in DOS gewesen, sie funktioniert auch noch in Windows.
# # dieses Skript ist ein Test # @echo off SET foo=bar echo %foo% SET /A summe=2+3 echo %summe%
> test01.bat bar 5
# # dieses Skript ist ein Test # @echo off echo %1 echo %2
> test02.bat A B A B
# # dieses Skript ist ein Test # @echo off set /p EINGABE=Variable Eingeben: echo %EINGABE%
> test03.bat Variable Eingeben: