howtothings.co.uk
How to use whois from Windows command line - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Operating System and Software Support (https://www.howtothings.co.uk/forumdisplay.php?fid=17)
+--- Thread: How to use whois from Windows command line (/showthread.php?tid=2780)



How to use whois from Windows command line - Mark - 10-01-2015

How to use whois from Windows command line

1) Download Whois v1.12 By Mark Russinovich
Webpage: http://technet.microsoft.com/en-gb/sysinternals/bb897435.aspx
Direct download: http://download.sysinternals.com/files/WhoIs.zip

2) Save it to somewhere such as C:\tools

3) Optional: Adding PATH to Windows so you can run "whois" from any directory in a command prompt.

Using setx from the command line to set PATH.
setx PATH C:\tools

SUCCESS: Specified value was saved.

If you already have a PATH set such as nmap you can use this command:
setx PATH C:\tools;"C:\Program Files (x86)\Nmap"