You could use SRVANY.exe (typically found in the WinNT/2K/XP Resource Kit)
as it provides the "shell" (and I use the term loosely) to run any .bat,
.cmd or .exe as an NT/2K/XP service.  You'd also like to use SRVINSTW.exe
(also a ResKit item) to define the service via GUI.  Unfortunately, then it
takes a little manual work in the Registry to supply the parameters to
SRVANY, but it's fairly easy to do.

While using an .exe that's built specifically as a Windows service is
cleaner, the advantage SRVANY gives you is the ability to define a
drive/directory location where the service runs (like the "Start in" option
for a shortcut).

-- RH


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to