hey all,
I'm trying to write a batch file to start and stop services on remote machines.
The problem I'm having is with the choice command, I want the batch file to ask weather you wish to enter a ip address or a service first and then take you a command that will input the data (either ip or service) to a command, (net use and sc command) and then run it.
if this make sense to you please help me!!!!!
thanks in advance
I'm trying to write a batch file to start and stop services on remote machines.
The problem I'm having is with the choice command, I want the batch file to ask weather you wish to enter a ip address or a service first and then take you a command that will input the data (either ip or service) to a command, (net use and sc command) and then run it.
if this make sense to you please help me!!!!!
thanks in advance