Commandline Arguments to the exe corresponding to a Windows Service

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.
 
P

Phill W.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top