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

Windows 10 launch event as it happened: Read our Windows 10 launch live blog - find out first as...

IDG UK Sites

Windows 9 and the death of the OS as a must-have product

IDG UK Sites

Video trends: 4K is here – HDR video, VR and 3D audio is coming

IDG UK Sites

Best iPhone 6, iPhone 6 Plus deals: iPhone 6, iPhone 6 Plus tariffs, contracts and prices UK