Free Software -
Command line utilities
|
Written by Thomas
|
Thursday, 05 February 2009 17:22 |
Page 4 of 12
Configuration files for ServiceExe are standard Windows configuration files (ini files). They consist of a [General] section and an additional section for each process/application to run.
MyService.ini:
[General] ServiceDisplayName=My own service ServiceDescription=This is my own service StartUpPause=1 CreateProcessPause=1 LogPath=Logs ServiceProcesses=App1
[App1] ApplicationName=MyApplication.exe CommandLine= CurrentDirectory=
The ini file's name without file name extension declares the name of the Windows service. The Windows Services Panel shows it as 'Service Name' on the properties page and is identical to the parameter lpServiceName of CreateService ().
Download ServiceExe.zip (0.11 MiB = 108.4 KiB = 111,041 bytes)
|
Last Updated on Thursday, 05 July 2012 13:25 |
to post comments.