script to stop and start serveices unatended

  • Thread starter Thread starter Donald MacKenzie
  • Start date Start date
D

Donald MacKenzie

Hello, I have a program the requires these 3 things to happen, I cannot to
it manually everyday because I am not always in the office. it has to be
unattended.

here is the batch file right now.

net stop server
net start server
net start "computer browser"

how can I automate this so I don't have to enter Y for each?
 
Back
Top