Jump to content

passing variable to batch file or command line


nz4y45

Recommended Posts

I'm trying to pass a simple ip address to a batch file.

 

what i would like to do is have a form to type in the ip address, and then have a link to the bat file, that will append the ip address typed in the form field to the end of the command. 

 

i.e. - when the link is clicked, the batch executes test.bat 169.69.69.0

 

my batch file would then use the ip supplied to run wmi scripts.

 

Thanks much!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.