Commandline Arguments to the exe corresponding to a Windows Service

  • Thread starter Thread starter dmuralikumar
  • Start date Start date
D

dmuralikumar

Hi All,
I am finding it difficult to send some parameters to the exe
corresponding to a Windows Service that has been installed.Its the same
case with the exe i.e., I dont where i have to make the exe accept
those arguments sent in. Please provide me assistance in this regard at
the earliest..

Thanks and Regards,
Murali.
 
I am finding it difficult to send some parameters to the exe
corresponding to a Windows Service that has been installed.

This is surprisingly difficult to do.
The only place I've found in the Services Applet in Control Panel and
that only works when you start the Service /manually/.

Personally, I'd recommend using a configuration file, in the same
directory as the service, instead.
I dont where i have to make the exe accept those arguments sent in.

If you ever /do/ find a way to pass command-line arguments /to/ your
service, you'd retrieve them using Command$.

HTH,
Phill W.
 
Back
Top