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

5 reasons not to wait for the Apple Watch: Why you shouldn't buy the iWatch

IDG UK Sites

Why local multiplayer gaming is rapidly vanishing: we look at the demise of split-screen and LAN...

IDG UK Sites

How Emotional Debt is damaging digital design

IDG UK Sites

iPhone 6 review: Apple's new iPhone is bigger, better & faster than ever before