Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
REM Performs nslookup on a list of IP's
for /F %i in (iplist.txt) do @nslookup %i 8.8.8.8 2>nul | find "Name" && echo %i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment