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
SIW2

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

05 Feb 2010   #12
pweegar

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
SIW2

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
win7use

 

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
-whoiscmd.png   -cmdwhois2.png  
My System SpecsSystem Spec
Reply

 How to run a command line utility?




Thread Tools





Similar help and support threads
Thread Forum
Command Line - Help
Hi Guy's and Girls, Just first off I've never been too good with CMD and only an Apprentice in my company I work for. Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file: I would need a Batch file that is...
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, http://i49.tinypic.com/2afy92e.jpg http://i46.tinypic.com/vral8n.jpg what's this ? it's mean my...
System Security
How can I set this via command-line or registry?
How can I set this via command-line or registry? I need a way to automatically launch "Explorer c:\folder\myfolder" with a view appropriate for long filenames on any Windows Vista/Win7 PC.
Customization
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...
Software
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 16:33.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App