Ein Kumpel hat mir jetzt mal das hier fertig gemacht:
@echo off
REM Check arguments
IF "%1" == "" GOTO NODETAILS
GOTO DETAILS
REM Send message if we have an argument
:DETAILS
cd C:\AlarmPushTool\
AlarmPushTool.exe -c "123" -t "Test Alarm" -m %1
GOTO ENDE
REM if we get no argument, send "no details"
:NODETAILS
cd C:\AlarmPushTool\
AlarmPushTool.exe -c "123" -t "Test Alarm" -m "no details"
GOTO ENDE
:ENDE
Und im BosMon steht als Pfad:
C:\AlarmPushTool\AlarmApp.bat "%meldung%"
Sollte so wohl funktionieren