Server Management - Systems Insight Manager
1833129 Members
4115 Online
110051 Solutions
New Discussion

Custom command to execute .bat file

 
Brassen
Occasional Contributor

Custom command to execute .bat file

Hi!
I'm trying to execute .bat file as a custom command in a automatic event handling but it doesnt seems to work for me. Can it be done or...?
3 REPLIES 3
Erik van Trijp
New Member

Re: Custom command to execute .bat file

Brassen,

Did you managed to get this working, i'm strugeling with it also...

Erik
markum fuadi
Frequent Advisor

Re: Custom command to execute .bat file

dear guys,

i'm having the same problem here..
did both of u get some clue guys???


cheers,
markum@asa.co.id
www.markumfuadi.co.cc
Erik van Trijp
New Member

Re: Custom command to execute .bat file

i managed to get it working. you must refer to all files as UNC path's, by example, i want to copy a file to a directory, where a program picks it up to send a sms.

I must call the script by \\server\share\sms.bat, and in the sms.bat file also UNC paths.

It worked for me :-)