Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Service won't start
Message
From
11/10/2007 12:11:02
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Windows
Category:
Computing in general
Title:
Service won't start
Miscellaneous
Thread ID:
01260323
Message ID:
01260323
Views:
77
This is the REG file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMPS]
"ImagePath"="C:\\FMSRun\\EMPS.exe"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMPS\Parameters]
"AppDirectory"="C:\\FMSRun"
"Application"="C:\\FMSRun\\EMPS.exe"
"AppParameters_HostName"="localhost"
"AppParameters_Port"="1544"
"AppParameters_BackupDirectory"="C:\\HL7_IN\\"
"AppParameters_Switch"=".T."
This is the test batch file:
sc.exe delete "EMPS"
REGEDIT.EXE /S EMPS.REG
sc.exe create "EMPS" binPath= "c:\FMSRun\EMPS.exe"
sc.exe start "EMPS"
It does everything except I get an error on the last line of the batch:
The service did not respond to the start of cotrol requiest in a timely fashion.
The EMPS.exe will run fine if I run it manually, but will not start as a service.
Next
Reply
Map
View

Click here to load this message in the networking platform