How to Run a Program on Command Prompt

Method 1 of 2:

Opening Basic Programs

  1. How to Run a Program on Command Prompt Picture 1
    Open Start
    How to Run a Program on Command Prompt Picture 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.
    1. 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 Picture 3
    Type command prompt into Start. Doing so will search your computer for the Command Prompt program.
  3. How to Run a Program on Command Prompt Picture 4
    Click Command Prompt
    How to Run a Program on Command Prompt Picture 5
    . It's the black box at the top of the Start window. Command Prompt will open.
    1. 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 Picture 6
    Type start into Command Prompt. Make sure you place a space after start.
  5. How to Run a Program on Command Prompt Picture 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:
    1. File Explorer - explorer
    2. Calculator - calc
    3. Notepad - notepad
    4. Character Map - charmap
    5. Paint - mspaint
    6. Command Prompt (new window) - cmd
    7. Windows Media Player - wmplayer
    8. Task Manager - taskmgr
  6. How to Run a Program on Command Prompt Picture 8
    Press Enter. Once your command resembles start 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.
    1. 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 2 of 2:

Opening Specific Programs

  1. How to Run a Program on Command Prompt Picture 9
    Open Start
    How to Run a Program on Command Prompt Picture 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 Picture 11
    Open File Explorer
    How to Run a Program on Command Prompt Picture 12
    . Click the folder-shaped icon in the lower-left side of the Start window.
  3. How to Run a Program on Command Prompt Picture 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.
    1. 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.
    2. 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 Picture 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 Picture 15
    Copy the path. Press Ctrl and C at the same time.
  6. How to Run a Program on Command Prompt Picture 16
    Click This PC. This folder is on the left side of the File Explorer window.
  7. How to Run a Program on Command Prompt Picture 17
    Click This PC again. 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 Picture 18
    Click Computer. 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 Picture 19
    Click Properties. 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 Picture 20
    Click Advanced 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 Picture 21
    Click the Advanced tab. It's at the top of the window.
  12. How to Run a Program on Command Prompt Picture 22
    Click Environment Variables…. This option is at the bottom of the window. Another window will appear.
  13. How to Run a Program on Command Prompt Picture 23
    Click Path. It's in the "System variables" window near the bottom of the page.
  14. How to Run a Program on Command Prompt Picture 24
    Click Edit…. This option is at the bottom of the page.
  15. How to Run a Program on Command Prompt Picture 25
    Click New. It's in the top-right side of the Edit page.
  16. How to Run a Program on Command Prompt Picture 26
    Paste in your program's path. Press Ctrl and V at the same time to paste the path into the Path window.
  17. How to Run a Program on Command Prompt Picture 27
    Click OK. This will save your path.
  18. How to Run a Program on Command Prompt Picture 28
    Open Command Prompt.
  19. How to Run a Program on Command Prompt Picture 29
    Open your path. Type cd into Command Prompt, type one space, press Ctrl+V to enter your program's path, and press Enter.
  20. How to Run a Program on Command Prompt Picture 30
    Type start into Command Prompt. Make sure you leave a space after start.
  21. How to Run a Program on Command Prompt Picture 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.
    1. If there are spaces in the program's name, place an underscore ("_") where a space should go (e.g., system_shock rather than system shock).
    2. Alternatively, you can enclose the path in double quotes. (eg: start "C:Program FilesWindows Media Playerwmplayer.exe")
5 ★ | 2 Vote

May be interested

  • How to Add and Delete User Accounts with Command Prompt on WindowsHow to Add and Delete User Accounts with Command Prompt on Windows
    command prompt is basically a version of the 'terminal' application (apple) on windows, a program that allows us to enter system adjustment commands. while most commands users enter into command prompt simply execute the action itself (such as opening a folder), you can also use command prompt to quickly create (or delete) accounts. right on your computer!
  • Add Command Prompt to Power User Menu on Windows 10Add Command Prompt to Power User Menu on Windows 10
    on windows 10 build 14971, microsoft replaced command prompt and command prompt (admin) with windows powershell. according to microsoft, this change will bring the best command line experience to users. but in fact, users prefer to use command prompt rather than using powershell.
  • How to open Command Prompt on Windows 10, 8, 7, Vista and XPHow to open Command Prompt on Windows 10, 8, 7, Vista and XP
    command prompt is one of the command line interface programs used to execute commands in the windows operating system. the article will guide you how to open command prompt on windows 10, 8, 7, vista and xp.
  • How to Make Command Prompt Appear at SchoolHow to Make Command Prompt Appear at School
    this wikihow teaches you how to access command prompt on a windows 10 school computer. although you may be able to open command prompt if only the file path to command prompt is blocked, there is no way to bypass an administrator lock on...
  • 6 Best Command Prompt Alternatives for Windows6 Best Command Prompt Alternatives for Windows
    do you find the command prompt a bit complicated and feel you need a tool that is easier to use? this is where other terminal emulators come into play!
  • How to use Xcopy command in Command PromptHow to use Xcopy command in Command Prompt
    knowing how to use xcopy command in command prompt, you will easily use commands in cmd professionally. in particular, the xcopy command is extremely useful for those who copy and copy data on the computer.
  • 6 Cool Tricks You Can Do in Windows Command Prompt6 Cool Tricks You Can Do in Windows Command Prompt
    command prompt has a ton of capabilities, and many people doubt they know what a few lines of code can do. next time you're bored with your pc, try these cool command prompt tricks for yourself.
  • Instructions for using Command PromptInstructions for using Command Prompt
    deep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
  • All Frequency Restart, Shutdown, Remote Off ... with Command PromptAll Frequency Restart, Shutdown, Remote Off ... with Command Prompt
    often users often turn off the computer, restart the computer ... using the shutdown options on the start menu. however, few of us know that using command prompt can also shutdown, restart the computer, schedule a computer shutdown or enable hibernation, ... and even if you have admin rights you can turn off other computers remotely.
  • How to Compile and Execute Java Using Command PromptHow to Compile and Execute Java Using Command Prompt
    while many programming environments allow you to compile and execute a program within that program, you can also compile and execute a program using the command prompt command prompt.