At 10:52 AM 1999/10/11 -0600, "Alan Vidmar" <[EMAIL PROTECTED]> wrote:
>Anyone know how to start or stop NT services from a command line or 
>batch file?
>
>Thanks,
>Alan

Yes.

(And, in anticipation of the followon question "How?";)
net start "servicename"
net stop "servicename"
where servicename is the case-sensitive name displayed by Control Panel's
Services menu (eg, net stop "Prime Service") or that displayed by typing
net start
with no parameters (which gives a list of the currently running services).  
For more info try
net help start
net help stop
The service must be not disabled, and the process running
the command must have adequate permissions.


Ken

_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to