• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Services

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.
This would work with windows XP

Creating Services:
Adding Service (Note: Space between binpath= and "C:\ has to be there.
<path>\sc.exe create "Service Name" binPath= "C:\Your Program.exe"
Removing Service
<path>\sc.exe delete "Service Name"

Controlling Services:
Starting Service
<path>\sc.exe start "Service Name"
Pausing Service
<path>\sc.exe pause "Service Name"
Stoping Service
<path>\sc.exe stop "Service Name"
 
d0z said:
This would work with windows XP

Creating Services:
Adding Service (Note: Space between binpath= and "C:\ has to be there.
<path>\sc.exe create "Service Name" binPath= "C:\Your Program.exe"
Removing Service
<path>\sc.exe delete "Service Name"

Controlling Services:
Starting Service
<path>\sc.exe start "Service Name"
Pausing Service
<path>\sc.exe pause "Service Name"
Stoping Service
<path>\sc.exe stop "Service Name"

Now where is it that you type this stuff?
 
Back