service restart via batch script
Posted on 2006-11-14
I have a service that i have to restart quite often to get one of the apps working.
My batch script currently is
net stop MySvc
net start MySvc
the problem is that the "net stop MySvc" sometimes asks for a Yes/No response as it has some dependency
So, i wanted to ask if there was a way to automate the 'Y' response in that batch script ..
Please let me know