How to run the command line?

The command line is one of the most flexible and useful Windows tools. Formally, the cmd.exe application is inside the Windows folder and is the command line. Unfortunately, most users do not even know how to run the command line. In this article we will try to correct this defect.

Windows xp

The command line launch method essentially depends on the version of Windows operating system. In Windows XP, you can launch this application using the following methods:

  1. In the first option, you can simply go to the start menu, select the "all programs" section, go to the "standard" category and find the "command line" application there.
  2. You can also choose a faster way and simply open the “Start” menu and find the “Run” item there. The menu item "execute" will open a command window in which you should enter cmd.exe.

Windows 7

But Windows XP has long been considered an outdated version of the system. Now the most relevant is the Windows 7 operating system. And if the first method of launching the command line described above can still be used in Windows 7, then Method 2 will be completely useless.The main reason for this is that by default there is no “run” item in the “start” menu. It can be turned on without any problems by going to the properties of the “start” menu and selecting the corresponding item there. Also in Windows 7, the ability to quickly search the "start" menu. In order to use this function, just open the menu and just start typing the name of the required application (in our case, cmd.exe).

In addition to the above method for running the command line, there is another one that is completely universal. It works in both Windows XP and Windows 7. Its essence is simple: you press the key combination win + r, after this action, the previously mentioned “execute” window opens, type cmd.exe in it and press Enter. As for me - nowhere is easier.

How to run any application via the command line

Earlier we mentioned the fact that the command line is a universal tool in the hands of the user. Quite often, developers of various applications implement support for commands and parameters that can be activated or specified using the command line. Consider the process of launching the program on a real example.

Let's say you need to run the Testprogram.exe program, which is located in the C: \ Program Files \ Test \ directory. First we need to go to the appropriate directory (by default, the command line opens the user's folder). To do this, run the command cd c: \ Program Files \ Test. After moving to the desired directory, you can freely run the program with the appropriate parameters. For example, run our program with the print option in the document:

C: \ Program Files \ Test> Testpogram.exe / print c \ test.txt

As a result of this command, the Testprogram.exe program will print to the test.txt document, which is located on the local C drive. In order to find out the commands that any program supports, read the help from the developers. For a list of standard cmd.exe commands, you can use the "help" command.

If you plan to work regularly in the “command line” application, then I recommend setting up this environment to suit your needs. To start the setup, click on the upper left corner of the window and select the "Properties" item. In the window that opens, you can change the weight of various parameters: buffer size, quick insert and selection, window location, window size, etc.

The command line is a tool that can significantly speed up the process of working at a personal computer. Having studied it once - you will save your time in the future hundreds of times.

Related news

How to run the command line image, picture How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line How to run the command line