Start Service from Shortcut

G

Guest

Is it possible to start a service from shortcuts? I tried to copy the command
line (Path to executable:) in the services.msc but it didn't work.
 
J

Jeffrey Tadlock

TOP said:
Is it possible to start a service from shortcuts? I tried to copy the
command
line (Path to executable:) in the services.msc but it didn't work.

Create a file called something like 'start-service.cmd' and edit it with
notepad. Add a line similar to the following:

net start "service you want to start"

Save the file.

Now when you click that file it will start the service you named.

--Jeffrey
 
R

Ramesh, MS-MVP

Microsoft Windows XP - Net start:
http://www.microsoft.com/resources/...xp/all/proddocs/en-us/net_start.mspx?mfr=true

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

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Is it possible to start a service from shortcuts? I tried to copy the command
line (Path to executable:) in the services.msc but it didn't work.
 
G

Guest

TOP said:
Is it possible to start a service from shortcuts? I tried to copy the command
line (Path to executable:) in the services.msc but it didn't work.

Thanks guys :)
 

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

Top