Call batch file with arguments

Hi;
How would I pass the 'error' messages to a batch file (c:\alert.bat) in the notifications. I would like to pass in all the same things you can access from the email profile:
Message: $message
Device: $displayName
Category: $category
Error Condition: $stringseverity
Generated at: $strModTime
Thanks
Aubrey
New to ADSelfService Plus?