[windows2000] Re: IP / ARP listing

  • From: "slymax" <groups@xxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 10 Oct 2002 09:05:18 -0400

Glen,
Your script did not work when I ran it on Windows 2000.  I played with
it a bit, and got this one to work:

for /l %%i in (1,1,255) do ping -n 1 192.168.%%i >> pings.txt

Steve


-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sullivan, Glenn
Sent: Thursday, October 10, 2002 8:57 AM
To: 'windows2000@xxxxxxxxxxxxx'
Subject: [windows2000] Re: IP / ARP listing



for /l %i in (1,1,255) do ping -n 1 192.168.1.%i >> Pings.txt

This will send a single ping to all numbers from 1 to 255 in the
192.168.1.x range, and log the results into pings.txt in the current
directory.

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc.


==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: