Question : How to export cmd.exe output to a .txt file when using the command nslookup

I want to make a list of all computers found in my corp. domain by using nslookup.
Nslookup allows me to list all computers within the domain using a DNS server of
my choice. ping 192.168.0.1 > C:\output.txt works, but inside nslookup i cannot
reproduce the results.

Answer : How to export cmd.exe output to a .txt file when using the command nslookup

OK, odd?  So the ls command works manually but not like this?  Can you try my new version posted pls?

Steve
Random Solutions  
 
programming4us programming4us