Most users for "communication" with Windows are enough for the graphic interface offered by the developers - it is simple and intuitive. But for some purposes, which the average user encounters infrequently, it is more convenient to use the command line.How to run command line in Windows?

First look into what is the command line. Command line (console) — text. The user enters certain commands from the keyboard, the system executes them. The command line is used, for example, to trace a route to a site (server) or to test ping for problems with the Internet.

In Windows NT (Windows 2000 and above) is used command line interpreter cmd.exe. which replaced the obsolete interpreter, which was used in the systems of the family Windows 9x and MS-DOS. The interpreter translates the text command into a system that is understandable to the system. Run the command line in Windows means run the cmd.exe application.

To invoke a command line, you can use one of the following methods.

Click on the "Start" button. In the menu that opens, select Run. In the opened window in the Open box, enter the name of the program cmd.exe and click on the OK button or press the Enter key on the keyboard. To open the Run window, you can also use the Win + R keys (Win - the Windows logo key in the bottom row of the keyboard).

You can open the command line in a more "traditional" way by selecting it from the list of installed programs. To do this, again, click on the "Start" button, select All Programs from the menu, select Standard in the menu, and select the required program from the list of standard programs - Command line.

But running this way, the command prompt may not allow you to execute certain commands. To succeed, you need to run the command prompt as administrator. To do this, we "get" to the command line in the previous way (Start - All Programs - Standard), but click on the phrase Command line not with the left mouse button, but with the right one. A context menu will open. In it, click on Run as administrator. A dialog box may appear: "Allow the next program to make changes on this computer?". Feel free to click "Yes".

Not to perform the same manipulations each time you launch the command line you can configure automatic start as administrator. To do this, call the context menu in the same way as in the previous case, but instead of Run as administrator, select Properties. In the opened properties dialog box, go to the Shortcut tab and click on the Advanced button. In the window that opens, check the Run as administrator, click on the OK button, and in the properties window click Apply and OK.

Windows 7 includesan extensible shell command line interface, Windows PowerShell. It can be used instead of the standard command line. To run Windows PowerShell as simple as a command prompt (cmd.exe): start — All programs — accessories — Windows PowerShell.

Running the command line, you can watch a list of commonly used commands. To do this, enter the help command and press the Enter key. A list of available commands opens. To get more information about the command you are interested in, you need to enter help commandname, for example, help tree. If you need to get information about a particular utility, the construct utility_name / will help. for example, ping /.

The command line quite useful Windows tool. which can be useful in various situations. And when the next time a representative of the provider's technical support asks you to open a command line and check the ping, you will not have the question "How to start the command line?"