Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

stop and start services unattendedly

0 views
Skip to first unread message

Donald MacKenzie

unread,
Dec 7, 2009, 6:19:49 PM12/7/09
to
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?


Nil

unread,
Dec 7, 2009, 6:53:57 PM12/7/09
to
On 07 Dec 2009, "Donald MacKenzie" <donal...@gmail.com> wrote in
microsoft.public.windowsxp.customize:

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.

Donald MacKenzie

unread,
Dec 7, 2009, 9:01:15 PM12/7/09
to

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" <redn...@REMOVETHIScomcast.net> wrote in message
news:Xns9CDAC041...@130.133.1.4...
0 new messages