Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
@echo off:beginif exist "ips-to-ping.txt" echo File already exists, continue? & pause:: Start making IPs to ping.:::: FORMAT::: >>"ips-to-ping.txt" echo assetname:IP address>"ips-to-ping.txt" echo Faulty:19.456.789.1>>"ips-to-ping.txt" echo Tallagh:19.456.789.3>>"ips-to-ping.txt" echo Faulty 2:19.456.789.2>>"ips-to-ping.txt" echo Nass:19.456.789.4::start pinging:pingfor /f "usebackq tokens=1,2 delims=:" %%a in ("ips-to-ping.txt") do (ping %%b >nul || echo %%a:%%b Timed Out @ %date%:%time%>> "pingfailed.log")::done:endecho Done.pause