Make Homepage | Add To Favorites | Print Page | Submit News | Feedback | Contact | 

Your Technical Computer Information Resource!  
     

  Create your own user-defined services Windows XP  
TACKtech Corp. > Articles > Software > Windows XP

Create your own user-defined services Windows XP (TTID #304)

Author: Travis   Views: 217,505 /  Created: January 2, 2004
This allow you to create a Windows user-defined service for Windows applications and some 16-bit applications (but not for batch files).

What is needed for Windows XP:
The files are included with Windows XP.

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"

http://www.tacktech.com


Your Name:


Your E-Mail: (required)


Friend's E-Mail: (required)




View Our World Wide Web Customer Privacy Policy
  Featured Articles  
  Quick Links  
  Top Affiliates  
........