We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
 
2,673 Tutorials

How to use command prompts in Windows

Issue precise text-based commands to your Windows PC

We explain how to use the command prompt to issue precise text-based commands to your Windows PC or laptop.

The mouse-driven point-and-click interface provided by Windows is user-friendly and easy to grasp but, occasionally, and especially when things go wrong, you'll need to delve into the command prompt.

The command prompt allows you to issue precise text-based commands, which can be used to access software utilities that have no mouse-operated counterpart. For example, SFC /SCANNOW runs the System File Checker, and IPCONFIG shows the status of your network interfaces. The latter includes useful information such as your local IP address, which it can also renew for you.

It's simple to open a command prompt.

In Windows 7, click the Start menu and type command or cmd into the search box. Next, click the command prompt icon. The process is the same in Windows Vista; in XP, you should choose Start, Run, type cmd and press Enter.

In versions of Windows from Vista onwards, some advanced commands may require you to use an account with administrator privileges to work. In this case, you need to run the command prompt program in Administrator mode. To do so, simply right-click the command prompt icon and select Run as Administrator.

See all How to articles. Get free tech support in the Helproom Forum.

Visit Windows 7 Advisor for more Windows advice. Or email our Helproom Editor for bespoke advice.

IDG UK Sites

Samsung Galaxy Note 4 release date, price and specs 2014

IDG UK Sites

iOS 8 features wishlist: the changes iPhone and iPad users want in Apple's iOS 8

IDG UK Sites

25 Years of the World Wide Web: Happy Birthday, Intenet

IDG UK Sites

Developers get access to more Sony camera features