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,862 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

OnePlus One release date, price, specs UK: No invite needed any longer

IDG UK Sites

15 analogue facts that today's kids won't understand: winding tapes, Ceefax and more

IDG UK Sites

da Vinci Junior 3D printer review

IDG UK Sites

WWDC 2015: What Apple will launch at WWDC 2015: Apple TV, Macs, more & how to get WWDC tickets