How to run a command line utility?

Page 2 of 2 FirstFirst 12

  1. Posts : 16,163
    7 X64
       #11

    It won't run on it's own - you need to run it via the command prompt.

    First, get the Whois.exe in the path of cmd.exe.

    Easiest is to copy Whois.exe into your Windows\System32 folder.

    Then open an elevated command prompt ( type cmd in start search box, when the black box pops up - rt click it and run as admin. )

    It should open on C:\windows\system32>

    so you are in the right place. Then type:

    whois /?

    [ If cmd doesn't open at system32, just type this at the prompt:

    cd /d C:\windows\system32>

    then press enter ]

    Hope it helps.



    win7use said:
    Hi,
    I am trying to run a command line prompt utility from Microsoft on windows 7. Sure I am doing something wrong, after I click the downloaded .exe file the command prompt pops up briefly then disappears. Can someone explain the basics of running a command line utility on win7? Thanks!


    This is the one I am trying to run....(this is just one of many on this site Windows Sysinternals: Documentation, downloads and additional resources)

    Whois
      My Computers


  2. Posts : 50
    Windows 7 Ultimate 64bit
       #12

    It works just fine. What you need to do is:
    1) click on the file from the website
    2) Save it someplace you will remember (or write down the folder where you save it to)
    3) UNZIP the file! Remember where you unzip it to.
    4) Open the command prompt you do NOT need to run as the administrator.
    5) Chabge to the drive where you unzipped the file to.
    6) Change to the directory, in the command prompt.
    7) type: whois websitename where websitename is the site you want to run whois against.
      My Computer


  3. Posts : 16,163
    7 X64
       #13

    Yes, that's the same thing. Easier to put it in system32 , than to cd to the directory it was d/led it to. Specially for frequent use.

    You might find it easier still to use this :

    Domain name search tool (Whois) for Windows
      My Computers


  4. Posts : 26
    win 7 home premium
    Thread Starter
       #14

    YES! :) Thank you SIW2 !!!! Pasted whois.exe into system32 folder It works.. thank you.. now this is a very cool utility I'll have to try the others..like I said I was sure I was doing something wrong in a a basic way.....what is markmonitor..is this some kind of marketing tool?? thanks again...update markmonitor is the host/agent i think, when i whois sevenforums.com i got godaddy instead nevermind thanks again
    Attached Thumbnails Attached Thumbnails How to run a command line utility?-whoiscmd.png   How to run a command line utility?-cmdwhois2.png  
    Last edited by win7use; 05 Feb 2010 at 01:47.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:04.
Find Us