Start Service from Shortcut

  • Thread starter Thread starter TOP
  • Start date Start date
T

TOP

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.
 
"TOP" <TOP@discussions.microsoft.com> wrote in message
> 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
 
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


"TOP" <TOP@discussions.microsoft.com> wrote in message news:5D2CBE1B-B083-454F-9166-A07927F7D46A@microsoft.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.
 
"TOP" wrote:

> 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 :)
 
Back
Top