New
#1
I want to write a batch file to get the DNS numbers behind a router.
I do a lot of internet troubleshooting and would like to put a simple batch file in customers computers that will let me see their DNS numbers when they are using a router.
I currently do this from a command prompt for Comast:
nslookup
set type=ns
comcast.net
It's been years since I wrote a batch file and so I just put these lines in notepad and labeled it dns.bat
However, this just runs the first line, nslookup.
Is there a command that will cause each line to run after Windows has performed the line above?
Or, is there an easier way to do what I want to do?
Thanks in advance!