Windows XP At a MS-DOS command prompt (Start | Run | "cmd.exe"), type the following commands: 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" ![]() |
|