∟"sc.exe create/delete" - Create or Delete Services
This section provides a tutorial example on how to create and delete a program service with 'sc.exe' Service Controller command tool.
"sc.exe" can also be used to create and delete services.
If you want to create a new service, you can use the "create" commanded offered by the sc.exe tool.
Before running this command, you need to prepre the following minimum information:
Service Name: A single word to name the new service.
Binary Path: The path name where the executable program for new service is located.
Dispaly Name: A short name for the new service.
Here is a tutorial example showing you how to create a service to run Apache Web server: