kenshin_efx
Dec 28 2003, 04:31 PM
Hello, it wanted to request a little to them aid to do bat that does ping to me to a list of ips, I am not very good in this of the programming by the same I request aid to them, thanks in advanced.
T-BoNe
Dec 28 2003, 04:57 PM
for /f "tokens=1 delims=" %%a, in (scan.txt) do ping -n 1 -l 32 %%a >> pingcheck.txt
something like this ?
Nightdemon
Dec 28 2003, 08:00 PM
| QUOTE (T-BoNe @ Dec 28 2003, 04:57 PM) |
for /f "tokens=1 delims=" %%a, in (scan.txt) do ping -n 1 -l 32 %%a >> pingcheck.txt
something like this ? |
should work...
vnet576
Dec 28 2003, 08:18 PM
A bat that pings well I have just what u're looking for...
..a bat that pings..

mrBob
Dec 28 2003, 08:29 PM
lol vnet576

true true
scooby
Dec 28 2003, 09:04 PM
lol
liquidSilver
Dec 28 2003, 09:18 PM
Nightdemon: Please stop posting such reply's - we know you are only doing it for a higher post count..

- Wacko!
Regards,
LiquidSilver
randalizm
Dec 30 2003, 01:30 PM
what about one that uses net view to grab host names in your domain, pings each one to check its latency?possible?
BlaStA
Dec 30 2003, 02:48 PM
@echo off
del netview.txt /F /Q
del netping.txt /F /Q
net view | findstr "\\">netview.txt
FOR /F "delims=\\" %%a IN (netview.txt) DO ping %%a>>netping.txt
Should work ...
Feanor
Dec 30 2003, 04:39 PM
| QUOTE (kenshin_efx @ Dec 28 2003, 04:31 PM) |
| Hello, it wanted to request a little to them aid to do bat that does ping to me to a list of ips, I am not very good in this of the programming by the same I request aid to them, thanks in advanced. |
WOOOOOOTTTT?
Just create a text file that each line is " ping *.*.*.*" where *.*.*.* is one of the IPs you wanna ping, rename this file into a *.bat and execute.
Not so hard, aint it?
Or you wanted something else?
BlaStA
Dec 30 2003, 04:54 PM
He has a text file with ips from a scanner or whatever.
It's much work to paste ping in front of every line, isn't it?
T-BoNe
Dec 30 2003, 08:52 PM
Ultraedit is the answer then
northernsky
Dec 30 2003, 09:05 PM
| QUOTE (BlaStA @ Dec 30 2003, 04:54 PM) |
He has a text file with ips from a scanner or whatever.
It's much work to paste ping in front of every line, isn't it? |
That's what we have Ctrl + H for......
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.