1.

Solve : stop and start a service using a bat file?

Answer»

I am trying to figure how to create a BAT file that will stop a SERVICE, then create a backfile (which I know how to do, then restart the service. Looking for an EXAMPLE?Are you using Windows XP?

If so then,
----
sc stop

call backupStuff.bat

sc start
----

I found this at http://commandwindows.com/sc.htm

-Aaron
www.weknowerrors.com A free Wiki for computer problems.This was posted 4 years AGO and the OP of the topic already deleted his/her ACCOUNT.



Discussion

No Comment Found