Home › Forums › Scripting › General Scripting › Multiple Command Prompt with Ping request with a single script › Re: Multiple Command Prompt with Ping request with a single script
Not sure what exactly you try to achieve.
And, are you looking for a vbscript or batch or..? and in what way should it fetch the Ip-addreses that are going to be pinged?
Here a batch
Set “newbox=start cmd /k”
Set IPs=[COLOR=”Blue”]192.168.1.103 192.168.1.105 192.168.1.107 192.168.1.109[/COLOR]
For %%* in (%IPs%) do %newbox% PING.exe %%*
hi Rems :-)
i understand that this post is quite old lolz 8-)
but i’m interested in it as i’m trying to create a ping using a batch file ..
hope you can share or give an idea how to ping in command prompt as batch file :?: