How To Run An Application From The Command Line

Table of contents:

How To Run An Application From The Command Line
How To Run An Application From The Command Line

Video: How To Run An Application From The Command Line

Video: How To Run An Application From The Command Line
Video: Tutorial: How to Run Programs From a Command Line Prompt 2024, December
Anonim

Fifteen years after the beginning of the mass distribution of operating systems with a graphical interface, the need to run applications from the command line is already quite rare. However, this feature is still available in the latest versions of Windows.

How to run an application from the command line
How to run an application from the command line

Instructions

Step 1

If your version of the operating system provides the "Run command line here" command in the Explorer context menu, this greatly simplifies the entire procedure. By pressing the key combination win + e (this is a Latin letter) open Explorer and go to the folder that contains the executable file of the application you need. Right-click the folder icon and select this very command "Run command line here". Then, in the command line terminal that opens, enter the name of the executable file (you do not need to specify the extension in this case) and press enter. That's all you need to do - the application will be launched.

Step 2

If this convenient option is absent in the set of commands of your file manager, then start by opening a standard program launch dialog. This can be done using the "Run" item placed in the main menu of the operating system on the "Start" button. If your OS version does not have this item, then press the win and r keys at the same time. Enter the command to start the terminal from the command line - cmd. Then click on the "OK" button and a terminal window will open.

Step 3

Specify the full address to the executable file of the application you need in the command line. If it is difficult to type it manually, then you can use the address bar of Explorer as a source: go to the desired folder and copy the full path to it in the address bar. To paste into a terminal window, right-click anywhere on it and select the appropriate item from the context menu. Then add the file name to the address. In this case, it must be specified with an extension, do not forget to separate the file name from the inserted address with a backslash (). Start the application specified on the command line by pressing enter.

Recommended: