How to enter a command on the command line. How to call the command line? Run command line.

The following article will describe three main ways to invoke the command line in any version of the Windows operating system. Recommendations will be made on the practical use of a particular method.

In what cases may be needed?

When personal computers were running the MS-DOS operating system, the question of how to invoke the command prompt was not an urgent question. At that time, the user worked with the PC using a specific set of commands, each of which was responsible for a strictly defined action. For example, the “format a:” command allowed you to completely format a 3.5-inch diskette. Such an organization of management has one major drawback: to perform operations, it is necessary to remember and know a lot of commands. To solve this problem, Microsoft, in its later operating systems, has visualized the interface. As a result, it became enough to hover the pointer over the desired object and perform certain actions. But not all operations are performed in this way. For example, the “PING” command allows you to test the state of a local computer network, check its operation, and this can be done only through the command line. Also, using this component of the OS, you can format any drive. Yes, and the functioning of various DOS-applications in another way can not be organized in latest versions  Windows operating systems.

Ways

There are the following options for invoking the command line:

    Using the start menu.

    Using a special set of keys.

    With the use of "Explorer".

It is in this sequence that the ways of solving this problem will be further considered and the one that is best applied in practice will be chosen.

Start Menu

The easiest start command line  based on the use of the start button. But not all operating systems from Microsoft have such an interface element. For example, Windows 8 and Windows 8.1 can not boast of its presence. As a result, this method is no longer applicable for them.

The algorithm for solving this problem in this case is:

    Push the start button. This can be done using the left key of the manipulator, and using the corresponding button on the keyboard (it shows the OS logo).

    In the list that opens, select the item "All Programs". This operation can also be performed using the keyboard (use the arrow keys with the arrows and press at the end of the Enter) or with the use of the paddle (we move the pointer and press its left button).

    In a similar way, select the item "Service".

    In the next step, select "Command line".


We use the keyboard

More complicated compared to using the Start menu is the method that is based on the use of the keyboard. In this case, you must remember one key combination. But, on the other hand, this method is the most universal and works on all versions of the operating system, including 8 and 8.1. And the order of its implementation is:

    Switch the input language to English.

    In the next step, we hold down the Win key (with the Microsoft operating system logo) and, without releasing it, click on the English letter R. The Run window will open.

    We translate the cursor into the input field of this window using the manipulator.

    We type the command "CMD" and press Enter.

After that, the corresponding window will open and you can enter command line commands into it.


Through "Explorer"

This is the most complicated way  launch. Perform the following steps:

    We start in any convenient way "Explorer". This can be done using the Win and English E keyboard shortcut or by pressing the manipulator pointer on its icon from the desktop.

    In the window that opens in the right column, go to the disk with operating system  (usually it is "C:").

    At the final stage in the open directory you need to find a file called “CMD.EXE” and start it by double-clicking the left button of the manipulator.

In the future, an already familiar window will open in which you can enter command line commands. Alternatively, you can use the address bar of the explorer and type in the previously listed path. But this is not very convenient, because you need to constantly remember an impressive set of characters.

Now let's say a few words about how to find out the complete internal list of commands. The command line allows you to solve this problem easily and simply. To do this, simply enter the word “help” and press the Enter key. A complete list of internal commands will appear in response. That is, those that are built into the shell of the MS-DOS operating system emulation. There are also external commands. This is not only a command line program, but any other Windows application. In this case, go to the directory where the program is installed, using the command “CD directory name”. For example, we need to run the soffice.exe program located in the Program files directory on disk D. In this case, the sequence of commands is:

C: \\ D: / * go to partition D of the hard disk * /.

D: \\ CD Program Files / * go to the Program Files directory * /.

D: \\ Program Files \\ soffice.exe / * launch the soffice.exe application * /.

At the end of each line, do not forget to press Enter - confirmation of actions performed. On the right, flash dashes are limited comments that explain what is being done.


Which option is better?

Within this material, three main ways are described of how to call up the command line in operating rooms. windows systems. From the standpoint of simplicity and universality in practice, it is best to use the second one, which is based on a special key combination and using the “Run” window. This method works in all versions of the OS. And in its implementation it is necessary to make the minimum number of manipulations. Its only drawback is to remember the special key combination Win + R. But it is not so difficult. In addition, the Win button is used in many other combinations, for example, if you press the English E along with it, the "Explorer" will start. Thus, this method is recommended for use in practice. Good luck!

Many people think that working with the command line is for programmers only. This is not true. Appeal to this software product may be required and the average computer user.

The command line “binds” you and your hardware operating system. By entering certain commands, you can perform various service tasks. Only the administrator has the full scope of rights to perform a series of actions, so it is recommended to run the command console on his behalf. Visually this application  is a black field with a blinking cursor. How to call the command line?

  How to call the command line: Start menu

The most common way to access a string is through the Start menu. It is important to note that to call the command console it is not enough just to click on it with the mouse button. If you want to be able to specify any commands, call the application on behalf of the administrator. To do this, right-click on the “Command Line” icon and in the drop-down list, stop at the “Run as administrator” item.

Standard programs

  • Click on the "Start" button.
  • In the window that appears, select the item "All Programs".
  • Next, find the folder "Standard".
  • Click the item "Command Line" ( right click).

Search line

  • Go to the start menu.
  • In the search bar, which is located at the bottom of the table that opens, write "cmd".
  • Press the Enter key.
  • The item "Command Line" right click.

If the search string is not displayed in the Start menu, open it and at the same time press the Win and R keys. A string appears in which you enter “cmd” and click the “Ok” button. With only one reservation - with this method of calling the command console will start immediately and will be deprived of administrator rights.


  How to call the command line: context menu of any folder

While on the desktop, you can invoke the cmd.exe application without going to the Start menu.

  • Hold down the Shift key and right-click on any folder.
  • In the drop-down list, stop at the item “Open command window”.
  • Choose it.
  • The command line appears on the screen (a black box with a blinking cursor).


  How to call the command line: Windows 8.1

If you are a Windows 8 user, the implementation of the proposed options will be somewhat different.

1 way

  • Open the Charms Bar panel. To do this, move the mouse cursor to the right side of the screen or type the combination Windows + C from the keyboard.
  • Click the search icon.
  • In the line that appears, write "command line" or "cmd".
  • Next, right-click on the desired icon - "Run as administrator".


2 way

  • Open "All applications" (similar to "All Programs" in previous versions of the OS). To do this, press the key combination Ctrl + Tab or right-click anywhere in the screen and select "All applications".
  • In the list that appears, find the icon "Command line".
  • Click on it with the mouse (right click) and stop at the “Run as administrator” item.


3 way

  • Windows 8.1 allows you to return to the interface "familiar" look. In the lower left corner, right-click on the icon-square. In the list that appears, select the "Desktop". Thus, the desktop takes on a classic look.
  • Press the "Start" button (or the Windows + X keyboard shortcut) and type "command line".
  • Or go to the Windows system directory - System32. Find the application cmd. Click on its icon with the right mouse button and select “Run as administrator” in the list that appears.


The command line is a required feature for each Windows. Any user has ever encountered it in one way or another. Sometimes the command line is necessary for the user to make certain changes in the operation of the computer. In this article you will learn how to call in "Windows 10".

What it is?

We will understand the destination. Command line is standard program  Windows to enter commands without using windows and operating system controls. The program is a window with a text interface and a field for entering characters. Supports only letters  and arabic numerals. You will not be able to type a command in Russian letters. The functionality of the program is simply huge. With the help of commands you can open various files if you do not have access to Explorer, change registry settings and much more. Let's figure out how to call the command line in "Windows 10". For this there are two easy ways. They are slightly different from previous versions  "Windows", however, the essence remains the same.

Start menu

We will understand, Click on the Start menu icon at the bottom left. Next, click on the tab "All applications." Among all the programs, find the sub-item "Service." It is the necessary program. You can launch CMD with one left click of the mouse. Some commands will require administrator access. Let's see how this can be done.

Find the program in the list of service by the above method. Through the right mouse button, open the file as an administrator.

The following method is also associated with the Start panel. In older versions of Windows, you had to go to the menu and select the "Run" option. In the "top ten" everything is much simpler. To start, click on the magnifying glass icon next to the "Start". AT search bar  type a combination of English letters cmd. Search will issue the desired program. Click on the command line with the left mouse button.


How to call the command line in "Windows 10" using Explorer

In the updated version of the OS, you can use the new functions in the explorer. Open up desired folder. In the row at the top of the window, click on the “File” item, then select the item associated with the command line. Then you can choose the usual launch option or open with administrator rights. In the launching window, you can apply commands to the folder opened in the explorer. Now you know how to quickly open a command prompt in Windows 10.


Another method

You can also open the program by following the specified path in the system folder. You need to go to the Windows partition on the system disk (partition with the operating system installed). Next, locate the System32 folder. It contains the necessary cmd.exe file. This path is suitable for 32-bit versions of the OS. The 64-bit version of the SysWOW64 folder contains the Windows 10 command line. You know how to call (open) an application, it remains to use its functionality as intended, using special commands.

This article will discuss the command line of the Windows OS, what it is and why it is used.

The Windows command line (sometimes called “console”, “environment”) is a Microsoft software product that uses the cmd.exe command interpreter and allows a computer user to interact with the operating system by typing MS-DOS commands using the keyboard.

It so happened that many of the functions that allow a more subtle control of the operating system are simply not available in the graphical interface, so the Windows console is the only way to use them.

How to run the command prompt in Windows 7?

1st method:

Go to “Start” -\u003e “Run”, in the window write the command “cmd” and click “OK”.

2nd method:

“Start” -\u003e in the search bar we write “command” or “cmd”. Windows itself will find what we need, it remains only to choose.

3rd way:

Go to "Start", select "All Programs", then - "Standard" and in the list we are looking for the item "Command Line" that interests us.

4th way:

Go to "My Computer", then " Local disk  C "folder" Windows "," System 32 ". After that we find the CMD.exe file and open it.


Despite the fact that the question of how to invoke the command line may not seem to be the one to be answered in the form of instructions, many users who have upgraded to Windows 10 from 7-ki or XP will ask: because in their usual place - There is no command line in the "All Programs" section.

The fastest way to invoke command line

Update 2017:starting with the version of Windows 10 1703 (Creative Update) in the menu below, the default is not the Command Prompt, but Windows PowerShell. In order to bring back the command line, go to Settings - Personalization - Taskbar and disable the "Replace the command line with Windows PowerShell" option, this will return the command line item in the Win + X menu and right-click on the Start button.

The most convenient and quick way  launching the line as administrator (optional) is using the new menu (appeared in 8.1, is in Windows 10), which can be called up by right clicking on the “Start” button or by pressing the Windows keys (logo key) + X.

In general, the Win + X menu represents quick access to many elements of the system, but in the context of this article we are interested in the items

  • Command line
  • Command line (admin)

Running, respectively, the command line in one of two options.

Use Windows 10 Search to run

My advice is that if you don’t know how something starts up in Windows 10 or you cannot find any settings, click the search button on the taskbar or windows keys  + S and start typing the name of this item.

If you start typing "Command Line", it will quickly appear in the search results. With a simple click on it, the console will open as usual. By clicking on the found item with the right mouse button, you can select the "Run as administrator" item.

Opening the command line in explorer

Not everyone knows, but in any folder opened in the explorer (except for some “virtual” folders), you can hold down Shift, right-click on an empty space in the explorer window and select “Open command window”. Update: in Windows 10 1703 this item has disappeared, but you can.


This action will open the command line (not from the administrator), in which you will be located in the folder where the specified steps were performed.

Command line is normal windows program  10 (and not only), which is a separate executable file  cmd.exe, which is located in the folders C: \\ Windows \\ System32 and C: \\ Windows \\ SysWOW64 (if you have x64 version of Windows 10).

That is, you can launch it directly from there, if you need to call the command prompt as an administrator, launch it via right-click and select the desired item. context menu. You can also create a shortcut cmd.exe on the desktop, in the start menu or on the taskbar for quick access to the command line at any given time.


By default, even in 64-bit windows versions  10, when starting the command line using the methods described earlier, cmd.exe is opened from System32. I do not know if there are any differences in the work with the program from SysWOW64, but the file sizes are different.

Another way to quickly launch the command line "directly" is to press the Windows + R keys on the keyboard and enter cmd.exe in the "Run" window. Then just click OK.

How to open the command line of Windows 10 - video instruction

Additional Information

Not everyone knows, but the command line in Windows 10 began to support new functions, the most interesting of which are copying and pasting using the keyboard (Ctrl + C, Ctrl + V) and the mouse. By default, these features are disabled.

To enable, in the already running command line, right-click on the icon at the top left, select "Properties". Remove the “Use the old console version” checkbox, click “OK”, close the command line and launch it again to make the Ctrl key combinations work.