2 Aug 2007 06:36
batchfile as service
Hi,
I wanted to run a batchfile as service and added it using instsrv.exe but am getting error
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
for example if the batchfile is something like this and i run this from cmd prompt it runs fine and if i add it to
the services i get error, any workaround for this as i have a program which runs in foreground and want it to
be run from services.when checked Programs like apache.exe runs fine when used in this proceedure
<at> echo off
echo ping localhost -t > work.bat
start /min work.bat
Thanks,
Raja Sekhar
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
[Non-text portions of this message have been removed]
To Post a message, send it to: batchworld@...
To Unsubscribe, send a blank message to:
batchworld-unsubscribe@...
(Continue reading)
RSS Feed