Often in the description of the solution to any problem, Windows 7 refers to the command line. What is it? This is the name of the system shell, devoid of a graphical interface. The user’s interaction with her is carried out by entering requests (teams).
Functions
There are a huge number of functions for her. Using the command line, you can perform any full-time PC settings, check the status of the system, display the configuration. It is able to completely replace the graphical interface. And at the same time, its capabilities are wider than those available in the standard Windows shell. But still, most users are important for the graphical interface. Therefore, it is worth resorting to working with the terminal as a last resort, when there are no alternative solutions to problems. Now let’s look at simple ways to launch it and useful commands.
Launch
You can come up with a large number of ways to launch the command line in Windows 7, since the system allows this. But there are three options simple for an ordinary user: in the dialog box “Follow out”, by menu “Start” and through the executable file.
Method 1: Dialog box “Follow”
Dialog box “Follow out” is a partial replacement of the Windows terminal. Some teams are similar to them. However, it can also be used to launch the command line. It is easiest to start this utility by pressing Win + R at the same time. But you can still find her on the menu “Start”, section “Standard”. Enter cmd and click on the button “OK”, after which the desired program will start.Note: a command line opened in this way has limited functionality, since it is only provided with user access. Accordingly, some actions will be unavailable. To unlock them, inclusion on behalf of the administrator is required.
Method 2: Start Menu
Menu “Start” designed to quickly call various elements of the system. Launch it, go to “All programs”, there open the section “Standard”. It will have a shortcut to activate the command line.Attention: unlike the previous option, in this case it is possible to launch a terminal with administrator rights. To do this, click on the desired PCM element and select the second item.
Method 3: Executable file
Both previous methods were associated with indirect terminal opening options. But it can be launched directly, through the executable file. His name is cmd.exe, located on the system drive, on the way Windows/System32.An alternative access option is a search in the Explorer. You can still find the element “Command line” in Pusk, click on it PCM, choose “Properties”, and then “File location”.For the executable file cmd.exe can create a shortcut, for example, on the desktop. This will greatly simplify the launch of the console in the future. Click PCM on the document, select “Send – Desk …”. In this case, you can automatically launch the command line with administrative rights. To do this, open the shortcut properties, go to the section “Compatibility” and check the box opposite the corresponding item.
Teams
Request help will bring everything teams Windows 7, available for input at the moment. For most of them, the installation of parameters or values is possible. We will consider those requests that may be useful to an ordinary user.
PC shutdown timer
Team shutdown responsible for turning off the computer. For her, the following attributes exist:
- -s – turns off the PC immediately after input.
- -s -t 50 – turns off the PC after a certain time (50 – the number of seconds, the number can be changed to any).
- -a – cancel the shutdown timer.
The specified attributes are prescribed through the space after the command. It looks like this: “request attribute. For example, to turn off the PC after 3 minutes, you need to write the following:shutdown -s -t 180
Display computer configuration
Computer configuration information can be obtained through systeminfo.It displays the status of network connections, the set volume of RAM, the applied updates and other information.
Disk Check
Team chkdsk causes the state of the logical partitions of the disk. And its use with the following attributes will check:
- /r – disk research for damaged partitions. If any are detected, the system will try to automatically restore them.
- /v is the launch of the verification procedure with the display of the studied files.
- /f – launches error correction. This will require a disk lock, which the system will notify.
System Component Check
To call this function, a query is used sfc. It allows you to check the status of the system components and restore them if damage is detected. This is a useful command that is often required when correcting errors of executable files. It starts with the following attributes:
- /scannow – immediately launches the verification procedure.
- /scanonce – assigns a scan for rebooting a PC.
- /scanboot – the scan always turns on when Windows is loaded.
Грамотеи которые пишут такие статьи, никогда не заботятся о том, чтобы начать с основ. По умолчанию в командной строке отображается c:\users-[username]\ и большинство команд выполняться здесь не будут, т.к., к примеру, если вопрос о запуске какой-либо проги, нужно сначала войти в нужную папку.
може быть Сергей прав?