PDA

View Full Version : Capturing nslookup info into a text file



bardin
27-11-2003, 04:15 PM
Hi all,

I'm using Windows XP and I want to do an nslookup and record the information. However the WinXP command prompt doesn't allow you to select and copy the text.

So I'm trying to pipe the output into a text file, as follows:

nslookup -q=a domain.com > whatever.txt

Problem is the file is created and saved before all of the information comes through form the nslookup command!

Your help much appreciated.

Cheers,

Brendan

Mike
27-11-2003, 07:22 PM
> However the WinXP command
> prompt doesn't allow you to select and copy the text.

Yes it does... ?:| Start > Run > CMD <enter>

Run your command at the CMD prompt. Right click somewhere in the command prompt window and select "Mark". Highlight the part you want to copy and press "Enter". Open Notepad (or whatever) and press Ctrl+V to paste.

Mike.