Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to run a command line utility?

05 Feb 2010   #11

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

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.

Quote   Quote: Originally Posted by win7use View Post
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)


My System SpecsSystem Spec
05 Feb 2010   #12

Windows 7 Ultimate 64bit

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 System SpecsSystem Spec
05 Feb 2010   #13

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

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 System SpecsSystem Spec

05 Feb 2010   #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 I said I was sure I was doing something wrong in a a basic way.....what is this some kind of marketing tool?? thanks again...update markmonitor is the host/agent i think, when i whois i got godaddy instead nevermind thanks again

Attached Thumbnails
How to run a command line utility?-whoiscmd.png   How to run a command line utility?-cmdwhois2.png  
My System SpecsSystem Spec

 How to run a command line utility?

Thread Tools

Similar help and support threads
Thread Forum
Executing command line command anywhere ?
I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?
General Discussion
What Error is This? Microsoft Maleware Protection Command Line Utility
Guys, sometime i went to Action Center Check the Maintenance , and i found this , "Microsoft Maleware Protection Command Line Utility" at the view all problem reports, here's the Image, what's this ? it's mean my...
System Security
Command Line Utility Change Sound Device
Hi! I am looking for a method for CLI-only changing of the default audio device. (Control Panel-> Hardware and Sound -> Manage Audio Devices) I have already tried various options such as AutoIT, AutoHotKey and while I was able to get it working, this was not the optimal solution. Does...
Sound & Audio
64 bit command line unzip utility
So...I got this new computer in at work. 7pro, 64 bit, quad core AMD X4 B95. No biggie, but a small step up from my 7 month old X2 B22 processor work rig, which was 32 bit. I need a command line unzip utility that works with 64 bit OS. Previously I used pkunzip and funzip utilities and it...
Command Line
Is there a cmd.exe /switch for “run as administrator” ? Thanks-
General Discussion

Our Sites

Site Links

About Us

Find 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 06:59.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App