If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
stop and start services unattendedly
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? |
Ads |
#2
|
|||
|
|||
stop and start services unattendedly
On 07 Dec 2009, "Donald MacKenzie" wrote in
microsoft.public.windowsxp.customize: 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? I just tried your batch file, and I wasn't required to enter Y at any time. Under what conditions does it ask you that? What is the exact screen output? Maybe the SC command would work better for you. |
#3
|
|||
|
|||
stop and start services unattendedly
On 07 Dec 2009, "Donald MacKenzie" wrote in
microsoft.public.windowsxp.customize: 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? I just tried your batch file, and I wasn't required to enter Y at any time. Under what conditions does it ask you that? What is the exact screen output? Maybe the SC command would work better for you. |
#4
|
|||
|
|||
stop and start services unattendedly
your right I tried on another computer and it works just great. I am running
xp pro sp3 fully updated. anyways I found /y worked on my machine and before it wasn't that's just weird "Nil" wrote in message ... On 07 Dec 2009, "Donald MacKenzie" wrote in microsoft.public.windowsxp.customize: 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? I just tried your batch file, and I wasn't required to enter Y at any time. Under what conditions does it ask you that? What is the exact screen output? Maybe the SC command would work better for you. |
#5
|
|||
|
|||
stop and start services unattendedly
your right I tried on another computer and it works just great. I am running xp pro sp3 fully updated. anyways I found /y worked on my machine and before it wasn't that's just weird "Nil" wrote in message ... On 07 Dec 2009, "Donald MacKenzie" wrote in microsoft.public.windowsxp.customize: 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? I just tried your batch file, and I wasn't required to enter Y at any time. Under what conditions does it ask you that? What is the exact screen output? Maybe the SC command would work better for you. |
Thread Tools | |
Display Modes | |
|
|