Jump to content

Start Service from Shortcut


Recommended Posts

Posted

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.

  • Replies 3
  • Created
  • Last Reply
Guest Jeffrey Tadlock
Posted

Re: Start Service from Shortcut

 

"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

Guest Ramesh, MS-MVP
Posted

Re: Start Service from Shortcut

 

Microsoft Windows XP - Net start:

http://www.microsoft.com/resources/documentation/windows/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.

Posted

RE: Start Service from Shortcut

 

 

 

"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 :)


×
×
  • Create New...