When the BAT file is called you can within it's commandline add all of the % parameters.
Do know that the "result" of the % paramters can contain a SPACE so make sure your BAT file can handle them. dirk From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of PatriceH Sent: Monday, March 22, 2010 4:25 PM To: Servers Alive Discussion List Subject: [SA-list] Questions about ServersAlive and passing variable in a batch file Hello, I chose the "Execute command" in the Alert Tab. I execute a batch file to send SMS. I would like to pass SA variables (%p, %s, ...) to my batch file. For example : Echo on Set Pretty_name = %p Set Status = %s Echo The status of %p is %s. Thanks for yours ideas. Sincerely. Patrice. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.