How to Run a Program on Command Prompt

Click the Start menu, and then click Run., In the Run dialog box, type cmd. , The Command Prompt window opens., In the Command Prompt window, type start notepad., In the Command Prompt window, type start explorer., Go to the Program Files folder...

27 Steps 2 min read Advanced

Step-by-Step Guide

  1. Step 1: Click the Start menu

    In Windows 8, right-click the Start menu, and then click Run.

    You can also access this menu by pressing the WIN + X keys.
  2. Step 2: and then click Run.

    , The Command Prompt is a program lets you control your computer with text commands. , The Notepad text editor opens.

    Notepad is a text editor included in every version of Windows.

    The start command tells the computer to open a software program.

    In order for this to work, you need to know the exact name of the software program's file name that you want to open. , This opens the Windows File Explorer. , You can use any other software program folder, too. , This is the filename for Internet Explorer. ,, Try opening the files using the start command.

    These steps only work when programs are in the Windows Program Files folder.

    If you want to run a program outside of the Program Files folder, click here for instructions on how to do that. , Command Prompt prints a series of file paths separated by semi-colons.

    This is the PATH.

    When you use the start command, Command Prompt looks in all of these directories for the filename you typed. , The Command Prompt will be able to find the executable program file there.

    If you'd rather not move the program files, you can edit the PATH to add new file paths. , Find the program file ending in .exe that you'd like open with Command Prompt.

    Right-click the program file, and then click Properties. , Copy and paste don't work in Command Prompt. , The setx command will let you add a file path to the PATH.Type setx path "%path%
  3. Step 3: In the Run dialog box

    type the file path you wrote down, and then type ".

    Press Return. , The file path is added to PATH. ,
  4. Step 4: type cmd.

  5. Step 5: The Command Prompt window opens.

  6. Step 6: In the Command Prompt window

  7. Step 7: type start notepad.

  8. Step 8: In the Command Prompt window

  9. Step 9: type start explorer.

  10. Step 10: Go to the Program Files folder

  11. Step 11: and then open the Internet Explorer folder.

  12. Step 12: Find iexplore.exe.

  13. Step 13: In the Command Prompt window

  14. Step 14: type start explore.

  15. Step 15: Locate other programs you use frequently

  16. Step 16: and write down their file names.

  17. Step 17: In the Command Prompt window

  18. Step 18: type path.

  19. Step 19: If you can

  20. Step 20: move the program folder into the Program Files folder.

  21. Step 21: Open the program properties.

  22. Step 22: In the Properties window

  23. Step 23: next to Location

  24. Step 24: write down the full file path.

  25. Step 25: Use the setx command.

  26. Step 26: Type path.

  27. Step 27: Type start and the filename located in the directory you added to PATH.

Detailed Guide

In Windows 8, right-click the Start menu, and then click Run.

You can also access this menu by pressing the WIN + X keys.

, The Command Prompt is a program lets you control your computer with text commands. , The Notepad text editor opens.

Notepad is a text editor included in every version of Windows.

The start command tells the computer to open a software program.

In order for this to work, you need to know the exact name of the software program's file name that you want to open. , This opens the Windows File Explorer. , You can use any other software program folder, too. , This is the filename for Internet Explorer. ,, Try opening the files using the start command.

These steps only work when programs are in the Windows Program Files folder.

If you want to run a program outside of the Program Files folder, click here for instructions on how to do that. , Command Prompt prints a series of file paths separated by semi-colons.

This is the PATH.

When you use the start command, Command Prompt looks in all of these directories for the filename you typed. , The Command Prompt will be able to find the executable program file there.

If you'd rather not move the program files, you can edit the PATH to add new file paths. , Find the program file ending in .exe that you'd like open with Command Prompt.

Right-click the program file, and then click Properties. , Copy and paste don't work in Command Prompt. , The setx command will let you add a file path to the PATH.Type setx path "%path%

type the file path you wrote down, and then type ".

Press Return. , The file path is added to PATH. ,

About the Author

L

Larry Webb

Specializes in breaking down complex lifestyle topics into simple steps.

34 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: