Advertisement
J2897

Simple Network Scanner

Nov 13th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.21 KB | None | 0 0
  1. @echo OFF
  2. cls
  3.  
  4. set "NET=192.168.0"
  5. set "START=1"
  6. set "END=254"
  7.  
  8. echo Scanning IP range: %NET%.^(%START%-%END%^)
  9. echo.
  10. for /L %%Z in (%START%,1,%END%) do @ping "%NET%.%%Z" -w 10 -n 1 | find "Reply"
  11. echo.
  12. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement