Execute command on management server (windows) not working

Started by mapsy, November 15, 2010, 03:43:29 PM

Previous topic - Next topic

mapsy

Hi All,

I have setup an alarm. This works. But when I assign an action it wil not fire.

Management server is windows server 2003.
Type Action = Execute command on management server
Command c:\test.bat
Content test.bat = echo test.bat >>test.txt

What I'am doing wrong?

Kind regards,
Maurice Spronkers

Alex Kirhenshtein

Try to use double backslashes in command, single backslash is an escape character.c:\\test.bat

mapsy


mapsy

It's working.

Found the file test.txt in c:\NetXMS\var

Was expecting it in the same dir as the executed command.

Maurice Spronkers