"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows XP and DOS

Display Whois Information in a DOS Prompt or Batch File

SUMMARY: Display whois information for a domain or IP address directly from the DOS prompt without having to open a web browser.

In Unix, the whois command allows you to query remote databases to determine the owner of an IP address or domain. This sometimes contains business administrative and technical contacts, as well as a business address and phone number.

Unfortunately, Windows XP users normally must rely on third-party websites to access this information such as Whois.Net or Internic Whois.

However, Windows XP users can download a substitute for the Unix whois command, available from the Sysinternals site, part of Microsoft Technet.

Simply download the zip file Whois.zip, unzip the contained executable to your main Windows directory, and you can query for information using the following command:

whois DOMAIN_OR_IP

Where DOMAIN_OR_IP is a domain name or IP address.

For example, the following displays whois information about Google:

whois google.com

If you wish to query a particular whois server, add the name of the server after the domain name or IP address.

* Download Sysinternals Whois

Note that other versions of the whois command are available, including WhosIP from NirSoft.

Return to the Windows XP and DOS page.

Print this tip


Get the Newsletter

blog comments powered by Disqus

Thanks For Sharing!



Newest Tips:

Microsoft Word 2010
W0rds w8th Numbers Pass the S0ellchecker!
Google Gmail
Automatically Archive a Conversation you Respond to
Digital Photography
[MODIFIED] Did Someone Get in the Way While Taking a Photo?
Google Chrome
View Kittens and Pandas Everywhere!

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download. < more >