I know about net start, but I was wondering if there is a way I could check in the program itself, so it would check if its stopped to begin with and if so output a message otherwise attempt to stop it and if successful output a message saying it is stopped otherwise output an error message.
Thanks for the help so far.
Jason.