Naja naja .... Also so ein bischen googeln nach nem Batch-Befehl ist ja wohl nicht so schwer oder ? Ich hab auch auf Anhieb etliche gute Seiten gefunden ........

So sollte das gehen :

Echo off
cls
Echo Alarmierung

if "%2"=="0" set text=Gesamt
if "%2"=="1" set text=Kleinalarm
if "%2"=="2" set text=DLK-Maschinisten
if "%2"=="3" set text=Probealarm

echo %3> c:\temp.txt
ansiasci c:\temp.txt c:\Alarm.txt /an /o
c:\Programme\baycom\poc32\clemail.exe -to danny-@gmx.de -from danny@gmx.de -fromname FW-xy %text% -smtpserver mail.gmx.de -popserver pop.gmx.de -popuser 211789 -poppass PASSWORT -subjectfile c:\Alarm.txt -bodyfile C:\alarm.txt
wait 5