How do I start the command line?
The command line is one of the mostflexible and useful Windows tools. Formally, the cmd.exe application inside the "Windows" folder 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 such a shortcoming.
The method of launching the command line significantly depends on the version of the operating system Windows. In Windows XP, you can launch this application using the following methods:
- In the first variant, you can just go to the Start menu, select the "All Programs" section, go to the "standard" category and find the "command line" application there.
- You can also choose a faster method and just open the "Start" menu and find the "execute" menu there. The menu item "execute" will open a command window in which to enter cmd.exe.
But Windows XP has long been considered obsoleteversion of the system. Now the most relevant is the operating system Windows 7. And if the first method of launching the command line, described above, in Windows 7 can still be used, then method number 2 will be completely useless. The main reason is that by default, there is no "execute" item in the "start" menu. It can be turned on without any problems by going to the "Start" menu properties and selecting the corresponding item there. Also in Windows 7 there is a possibility of a quick search on the menu "start". In order to use this function it is enough to open the menu and just start typing the name of the required application (in our case cmd.exe).
In addition to the above, the method of starting the commandThere is one more line that is completely universal. It works in both Windows XP and Windows 7. Its essence is simple: you press the combination of keys win + r, after this action the previously mentioned window "execute" opens, enter cmd.exe and press Enter. As for me - it's nowhere easier.
How to run any application through the command line
Earlier we mentioned the fact that the command lineis a universal tool in the hands of the user. Quite often, developers of different applications implement command support and a parameter that can be activated or specified using the command line. Consider the process of starting the program on a real example.
Let's say you need to run the programTestprogram.exe, which is located in the C: Program FilesTest directory. First, we should go to the appropriate directory (by default the command line opens the user's folder). To do this, execute the command cd c: Program FilesTest. 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 FilesTest> Testpogram.exe / print ctest.txt
As a result of this command, the program Testprogram.exe will print to the document test.txt, which is located on the local drive C. To find out the commands that any program supports, read the developer's help. For the list of standard cmd.exe commands, you can use the "help" command.
If you plan to work regularly in theapplication "command line", then I recommend that you configure this environment for your needs. To start the configuration, 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 insertion and selection, window layout, window size, etc.
The command line is a tool that can significantly speed up the process of working with a personal computer. Having studied it once - you will save hundreds of times your time in the future.