I would like to stop a service as the script begin, and restart the service when the script ends.
I tried with:
RunCommand("net","servicename","stop")
at the beginning of the script, and:
RunCommand("net","servicename","start")
at the end, but it gives me a sintax error at line xx.
Can anyone achieved to do something like this with a script?
Can anyone help me discover what's wrong?
Thanks


