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...
Step-by-Step Guide
-
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. -
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% -
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. , -
Step 4: type cmd.
-
Step 5: The Command Prompt window opens.
-
Step 6: In the Command Prompt window
-
Step 7: type start notepad.
-
Step 8: In the Command Prompt window
-
Step 9: type start explorer.
-
Step 10: Go to the Program Files folder
-
Step 11: and then open the Internet Explorer folder.
-
Step 12: Find iexplore.exe.
-
Step 13: In the Command Prompt window
-
Step 14: type start explore.
-
Step 15: Locate other programs you use frequently
-
Step 16: and write down their file names.
-
Step 17: In the Command Prompt window
-
Step 18: type path.
-
Step 19: If you can
-
Step 20: move the program folder into the Program Files folder.
-
Step 21: Open the program properties.
-
Step 22: In the Properties window
-
Step 23: next to Location
-
Step 24: write down the full file path.
-
Step 25: Use the setx command.
-
Step 26: Type path.
-
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
Larry Webb
Specializes in breaking down complex lifestyle topics into simple steps.
Rate This Guide
How helpful was this guide? Click to rate: