|
Run Any Program As A Windows NT Service
has never been easier!
|
|
Introduced here is a free utility that runs any Windows executables, mostly
server programs, as Windows NT services. It features:
- Runs any executable programs on Windows NT.
- Can specify start up directory and run-time environment variables.
System environment variables are inherited, and variable names can
be used in other variable definitions.
- Has debugging support; user can see the run-time environment
at run time before the executable is launched.
- A user-friend GUI admin tool provides no-brainer set up.
- It's free!
- Source code available
in case you intend to OEM.
Simply put, this utility includes a service runner, called
RunExeSvc.exe
, and an admin tool RunExeSvcAdmin.exe
.
RunExeSvc.exe
works behind the scene; it is a generic NT service
program that runs your executable. RunExeSvcAdmin.exe
is a GUI
program to configure your services. All you have to do is to provide a
service name and a start-up script. The following is a
sample script that runs a Java web server. This script is available when click
on the "Sample" button in the admin tool.
######
# A sample script
# when debug=true, RunExeSvc.exe will show all variables first
debug=false
# this is the service's current directory
home=e:\winwinsoft
# The original system classpath and JAVA_HOME should be valid!
classpath=$classpath$;$home$\lib\classes.zip
# This service is a java web server on port 8080,
# with doc and servlet roots set.
cmdline=$JAVA_HOME$\bin\javaw.exe com.wws.server.Server -p 8080 -d $home$\docs -s $home$\servlets
|
See User's Guide for details.
Click here to
download the free software.