Specify a command to stop a service

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
 
M

Mark V

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

Mark V

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.
 

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