Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Run a Program on Command Prompt

Learn how to run a program on command prompt with clear steps, practical context, and useful troubleshooting guidance.

Table of Contents

This updated guide examines How to Run a Program on Command Prompt and organizes the essential facts, background, and practical takeaways in clear American English.

Method 1of 2:

Opening Basic Programs

  1. How to Run a Program on Command Prompt — contextual image 1 Open StartHow to Run a Program on Command Prompt — contextual image 2. Click the Windows logo in the bottom-left corner of the screen, or find the Windows logo key on your computer's keyboard and press it.
    • If you're using Windows 8, instead place your mouse cursor in the top-right side of the screen and then click the magnifying glass icon in the pop-out window.
  2. How to Run a Program on Command Prompt — contextual image 3 Typecommand promptinto Start. Doing so will search your computer for the Command Prompt program.
  3. How to Run a Program on Command Prompt — contextual image 4 Click Command PromptHow to Run a Program on Command Prompt — contextual image 5. It's the black box at the top of the Start window. Command Prompt will open.
    • If you're using a computer with restricted privileges, you may not be able to open Command Prompt.
  4. How to Run a Program on Command Prompt — contextual image 6 Typestartinto Command Prompt. Make sure you place a space afterstart.
  5. How to Run a Program on Command Prompt — contextual image 7 Type the program's name into Command Prompt. This must be the file's system name, not its shortcut name (for example, Command Prompt's system name is cmd ). Common program names include the following:
    • File Explorer -explorer
    • Calculator -calc
    • Notepad -notepad
    • Character Map -charmap
    • Paint -mspaint
    • Command Prompt (new window) -cmd
    • Windows Media Player -wmplayer
    • Task Manager -taskmgr
  6. How to Run a Program on Command Prompt — contextual image 8 Press?Enter. Once your command resemblesstart program_name, doing so will run the "start" command for your selected program. You should see the program open within a few seconds of entering the command.
    • If your selected program won't run, it is most likely in a folder that isn't in the Command Prompt's search path. You can add the program's folder to the Command Prompt path to fix this problem.

Method 2of 2:

Opening Specific Programs

  1. How to Run a Program on Command Prompt — contextual image 9 Open StartHow to Run a Program on Command Prompt — contextual image 10. Click the Windows logo in the bottom-left corner of the screen. You can also press the Windows key on your computer's keyboard.
  2. How to Run a Program on Command Prompt — contextual image 11 Open File ExplorerHow to Run a Program on Command Prompt — contextual image 12. Click the folder-shaped icon in the lower-left side of the Start window.
  3. How to Run a Program on Command Prompt — contextual image 13 Open the folder your program is in. Navigate to the folder that has the program you want to open by clicking on any folders needed to get to it.
    • When the icon for the program you want to open in Command Prompt displays in the middle of the File Explorer window, you're in the correct folder.
    • If you don't know the location of the program, many programs are often located in the "Program Files" folder on the hard drive, or you can search for it in the search bar at the top.
  4. How to Run a Program on Command Prompt — contextual image 14 Select the program's folder's path. Click the right side of the address bar that's at the top of the File Explorer window. You should see a blue box highlight the address bar's contents.
  5. How to Run a Program on Command Prompt — contextual image 15 Copy the path. PressCtrlandCat the same time.
  6. How to Run a Program on Command Prompt — contextual image 16 ClickThis PC. This folder is on the left side of the File Explorer window.
  7. How to Run a Program on Command Prompt — contextual image 17 ClickThis PCagain. Doing so will de-select any folders in the This PC folder, which will allow you to open the This PC folder's properties.
  8. How to Run a Program on Command Prompt — contextual image 18 ClickComputer. It's a tab in the upper-left side of the page. A toolbar will appear.
  9. How to Run a Program on Command Prompt — contextual image 19 ClickProperties. This icon resembles a white box with a red checkmark in it. Clicking it prompts a pop-up window to appear.
  10. How to Run a Program on Command Prompt — contextual image 20 ClickAdvanced system settings. It's a link in the upper-left side of the window. Doing so opens another pop-up window.
  11. How to Run a Program on Command Prompt — contextual image 21 Click theAdvancedtab. It's at the top of the window.
  12. How to Run a Program on Command Prompt — contextual image 22 ClickEnvironment Variables…. This option is at the bottom of the window. Another window will appear.
  13. How to Run a Program on Command Prompt — contextual image 23 ClickPath. It's in the "System variables" window near the bottom of the page.
  14. How to Run a Program on Command Prompt — contextual image 24 ClickEdit…. This option is at the bottom of the page.
  15. How to Run a Program on Command Prompt — contextual image 25 ClickNew. It's in the top-right side of the Edit page.
  16. How to Run a Program on Command Prompt — contextual image 26 Paste in your program's path. PressCtrlandVat the same time to paste the path into the Path window.
  17. How to Run a Program on Command Prompt — contextual image 27 ClickOK. This will save your path.
  18. How to Run a Program on Command Prompt — contextual image 28 Open Command Prompt.
  19. How to Run a Program on Command Prompt — contextual image 29 Open your path. Typecdinto Command Prompt, type one space, pressCtrl+Vto enter your program's path, and press?Enter.
  20. How to Run a Program on Command Prompt — contextual image 30 Typestartinto Command Prompt. Make sure you leave a space afterstart.
  21. How to Run a Program on Command Prompt — contextual image 31 Enter your program's name. Type in the name of the program exactly as it appears in the folder, then press?Enter. The program will run.
    • If there are spaces in the program's name, place an underscore ("_") where a space should go (e.g.,system_shockrather thansystem shock).
    • Alternatively, you can enclose the path in double quotes. (eg:start "C:Program FilesWindows Media Playerwmplayer.exe")

FAQ

What is How to Run a Program on Command Prompt about?

It provides a structured overview of program, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.