1. Computing

How To Open Command Prompt in Windows 7

By

Screenshot of the Command Prompt in Windows 7

Command Prompt in Windows 7

Command Prompt is the command-line interface program in Windows 7 that's used to execute commands. You might not need to use Command Prompt very often, but it can really come in handy to troubleshoot certain Windows 7 problems or speed up certain tasks.

A few popular Windows 7 commands that you may have heard of, or even used before, include dir, ping, attrib, cd, tracert, netstat, among others.

No matter what command you want to execute in Windows 7, you'll have to open Command Prompt first.

Difficulty: Easy

Time Required: Starting the Command Prompt tool in Windows 7 should only take a few seconds or so.

Here's How:

  1. Click on the Start button.

  2. In the search box, type the following:
    command
    
  3. Click on Command Prompt in the search results listing.

    Tip: If Command Prompt is listed first, which is likely, you can simply hit Enter on your keyboard instead of clicking the result with your mouse.

  4. Command Prompt will now open and you can use it to execute whatever command you're interested in running.

    See my Windows 7 Command Prompt Commands list for details about all the commands available from the Command Prompt in Windows 7.

    Note: See Tip #1 below if you see a message after executing a command about needing administrative rights or access to an elevated command prompt.

Tips:

  1. Some commands require elevated privileges before they can be successfully executed. See How To Open an Elevated Command Prompt in Windows 7 for instructions on opening Command Prompt as an administrator in Windows 7.

  2. Not using Windows 7? See How Do I Open Command Prompt? for steps specific for the version of Windows you're running.

©2014 About.com. All rights reserved.