Computing.Net > Forums > Windows 2000 > DOS batch file to start/stop services

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS batch file to start/stop services

Reply to Message Icon

Name: Yousuf
Date: January 30, 2002 at 03:54:51 Pacific
Comment:

Hi:

Anyone out there to tell me what's the switch to ignore YES or NO option while stopping/starting a service. For example, if I like to stop a service for Microsoft Exchange Information Store by using command in DOS batch file:

net stop "microsoft exchange information store"

It pauses and asks for other services (Microsoft Exchange POP3 & Microsoft Exchange IMAP4 which have dependency on this service) to stop by giving options of Y or N. If I Schedule this batch file, you know it wont work so I like to find out the switch so that it could ignore this option of Y or N and STOP all services.

Hope I made any sense.

Thanks.

Yousuf



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Logon Problem W2k client cannot ping do...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: DOS batch file to start/stop services

need bat file start/stop service www.computing.net/answers/windows-2000/need-bat-file-startstop-service/54210.html

Starting & Stopping services from the command line. www.computing.net/answers/windows-2000/starting-amp-stopping-services-from-the-command-line/9046.html

BATCH FILE TO LAUNCH DIAL-UP CONNECTION www.computing.net/answers/windows-2000/batch-file-to-launch-dialup-connection/25271.html