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

Best Christmas 2014 UK tech deals, Boxing Day 2014 UK tech deals & January sales 2015 UK tech...

IDG UK Sites

LED vs Halogen: Why now could be the right time to invest in LED bulbs

IDG UK Sites

Christmas' best ads: See great festive spots studios have created to promote themselves and clients

IDG UK Sites

Why Apple shouldn't be blamed for exploitation in China and Indonesia