batchfile that will start services manually

  • Thread starter Thread starter John Jay Smith
  • Start date Start date
J

John Jay Smith

can i make a shortcut- to a batchfile that will start services manually when
i click the shortcut. and how?

thanks
 
Add the line to your batch;

net start "some service name"

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"John Jay Smith" <-> wrote:
| can i make a shortcut- to a batchfile that will start services manually
when
| i click the shortcut. and how?
|
| thanks
|
|
 
John Jay Smith said:
can i make a shortcut- to a batchfile that will start services
manually when i click the shortcut. and how?

Use the NET START command.

net start <service name>

NET START
http://www.microsoft.com/resources/...xp/all/proddocs/en-us/net_start.mspx?mfr=true

NET STOP
http://www.microsoft.com/resources/.../xp/all/proddocs/en-us/net_stop.mspx?mfr=true

You could also use the SC command

SC
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx?mfr=true

sc start <service name>
sc stop <service name>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top