Tom
2009-12-08 14:32:12 UTC
I am trying to create/start an NT service on Windows server 2003 using
sc.exe The problem is that the parameters are not getting passed as I
would expect to the service. Instead unless I manually start the
service from the windows services viewer and explicitly give the
parameters they are not passed to the service.
Here is my sc command
sc.exe create CalcService binPath= "C:\Model\CalcService
\CalcService.exe -p C:\Model\CalcService"
sc.exe start CalcService # Does not start w/ parameters
Thanks for any help,
Tom
sc.exe The problem is that the parameters are not getting passed as I
would expect to the service. Instead unless I manually start the
service from the windows services viewer and explicitly give the
parameters they are not passed to the service.
Here is my sc command
sc.exe create CalcService binPath= "C:\Model\CalcService
\CalcService.exe -p C:\Model\CalcService"
sc.exe start CalcService # Does not start w/ parameters
Thanks for any help,
Tom