Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch files

Status
Not open for further replies.

tyrannus

MIS
Apr 6, 2006
115
US
Ok so I haven't written a batch file since windows 3.11 so now I have been tasked with creating a file that will ping a range of addresses and display which ones are in use. Can any one give me a jump start on this.. Please?
 
That would work, but we are looking for a no cost option unfortunately... Basically I need to know if the host is available so that a VNC connection can be made to it.
 
As stated here, something like the should work

Code:
For /L %f in (1,1,100) Do Ping.exe -n 1 192.168.1.%f

Cheers,
Dian
 
If you can use 3rd party software, I would look into AngryIp scanner
 
Yes, I second the AngryIP scanner. It does a whole IP address range (as you specify it) and tells you what addresses respond.

Also NMAP is good (NMAPWIN for windows) and can tell you what ports are open on the computers. That is helpful to detect if a computer might have a virus that is blasting out copies of itself via FTP or SMTP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top