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
Open Start
. 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.
Typecommand promptinto Start. Doing so will search your computer for the Command Prompt program.
Click Command Prompt
. 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.
Typestartinto Command Prompt. Make sure you place a space afterstart.
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
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
Open Start
. Click the Windows logo in the bottom-left corner of the screen. You can also press the Windows key on your computer's keyboard.
Open File Explorer
. Click the folder-shaped icon in the lower-left side of the Start window.
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.
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.
Copy the path. PressCtrlandCat the same time.
ClickThis PC. This folder is on the left side of the File Explorer window.
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.
ClickComputer. It's a tab in the upper-left side of the page. A toolbar will appear.
ClickProperties. This icon resembles a white box with a red checkmark in it. Clicking it prompts a pop-up window to appear.
ClickAdvanced system settings. It's a link in the upper-left side of the window. Doing so opens another pop-up window.
Click theAdvancedtab. It's at the top of the window.
ClickEnvironment Variables…. This option is at the bottom of the window. Another window will appear.
ClickPath. It's in the "System variables" window near the bottom of the page.
ClickEdit…. This option is at the bottom of the page.
ClickNew. It's in the top-right side of the Edit page.
Paste in your program's path. PressCtrlandVat the same time to paste the path into the Path window.
ClickOK. This will save your path.
Open Command Prompt.
Open your path. Typecdinto Command Prompt, type one space, pressCtrl+Vto enter your program's path, and press?Enter.
Typestartinto Command Prompt. Make sure you leave a space afterstart.
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.
Reader Comments 0
Sign in with email or Google to join the discussion.