Specify a command to stop a service

  • Thread starter Thread starter raju
  • Start date Start date
R

raju

I have added a service using Instsrv and Srvany. This
enables me to start a service with a command that I
specify. Now the problem is how do I specify a command
when I stop a service. Actually, when I select a service
and trying to stop it, it should take a command that I
specify. How can I do it.

thanks and regds
-raju
 
raju wrote in
I have added a service using Instsrv and Srvany. This
enables me to start a service with a command that I
specify. Now the problem is how do I specify a command
when I stop a service. Actually, when I select a service
and trying to stop it, it should take a command that I
specify. How can I do it.

thanks and regds
-raju

If you are asking how to pass commandline arguments to a service when
you stop it???? I don't think that is possible. But I am not the
expert on this. Maybe Dave will post again on this.
 
raju wrote in
I have added a service using Instsrv and Srvany. This
enables me to start a service with a command that I
specify. Now the problem is how do I specify a command
when I stop a service. Actually, when I select a service
and trying to stop it, it should take a command that I
specify. How can I do it.

thanks and regds
-raju

If you are asking how to pass commandline arguments to a service when
you stop it???? I don't think that is possible. But I am not the
expert on this. Maybe Dave will post again on this.
 
Back
Top