[Xitami] Xitami service

Tom Baker xitami@lists.xitami.org
Sat, 10 May 2003 02:01:51 -0500


----- Original Message ----- 
From: "Go Bonkers" <gobonkers@hotmail.com>
To: <xitami@lists.xitami.org>
Sent: Thursday, May 08, 2003 12:25 AM
Subject: Re: [Xitami] Xitami service

> In my win98/Start/Programs/Start Up/ folder, I have a shortcut.  The
target
> run line in the shortcut properties  here for example,  reads ;
> "G:\Cwood\delayer.exe" "H:\Xitami\xidos32.exe" /D55
> .....the ending   /D55 above    delays the start of   xidos32    55
seconds.
>
> mike
> ~~~

Ok! I got it figured out.
The way to start a service from the command line in win2k is "
net start Servicename
Stopping is:
net stop Servicename

In this case, that is
net start "Xitami Web Server"

Throw the delayer in there and you have
delayer.exe "net start "Xitami Web Server"" /D20

BUT! Double quotes don't work. So I wrote a batch file called xitami.bat
which contains
net start "Xitami Web Server"

So my final shortcut which I placed in Startup reads
delayer.exe "xitami.bat" /D20

Our course with appropriate paths.
Finally got it!

Thanks
Tom