Solved

Find the IP addresses of all computers listed in a text file.

Posted on 2009-07-01
3
347 Views
Last Modified: 2012-05-07
Hi guys,

I have a text file that houses a list of computer names.
What id like it to create a hta that:

1) Asks you for a text file
2) Upon clicking a run button, will read that list of computer names
3) Do an nslookup on it (not a PING).
A new file 2 columns wide would be created, with format as:
----------------------------------- ips.txt
Computer  IP Address
serverA    x.x.x.x
serverB    x.x.x.x
serverC    Error
serverD    Error
etc etc

Any help greatly appreciated.
0
Comment
Question by:Simon336697
3 Comments
 
LVL 8

Accepted Solution

by:
Haris V earned 250 total points
ID: 24752603
0
 
LVL 6

Assisted Solution

by:BALMUKUND KESHAV
BALMUKUND KESHAV earned 250 total points
ID: 24752770
0
 
LVL 1

Author Comment

by:Simon336697
ID: 24783883
Thanks guys to both of you :>)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question