G
Gary L. Richmond
Using the command prompt - how does one add a program as a
service ?
service ?
In said:Using the command prompt - how does one add a program as a
service ?
Mark V said:SRVANY.EXE from the Resource Kit is one solution perhaps.
In said:Actually, SRVANY does not install services - it just acts as a
broker between the Service Control Manager and another EXE file to
allow you to set up your own user-defined services. It allows EXEs
that have not been written to supply the proper return codes for
SCM to run successfully as services. You set up a service to run
using SRVANY, then SRVANY calls your EXE (similar to SVCHOST.EXE).
You still need to have another utility to install SRVANY (or
anything) as a service. AFAIK, W2K does not come with a utility to
do this. For XP, you can use SC.EXE. You can probably Google for a
VBScript that will do the same thing.