cmd help commands. Command line

Windows allows you to do a lot of different things with all sorts of tools and utilities, most of which can be easily accessed in . A similar, but more efficient and faster way is to use the Run function, which is available in all Windows operating systems.

Some users think that this window is meant for geeks or nerds, but in fact it is not. It can be used by both intermediate and beginners, but only if they know what they are doing and what commands to enter. In short, the tool allows you to become more productive when working on your computer. Therefore, if you are interested, or need to know about it, then here is a list of commands for the dialog box Run.

We have given you a list of 30 commands to execute so that you can bypass the series of endless clicks, thereby accelerating the process of launching utilities and tools in your daily using Windows. It should be noted that in Windows 8 the Run window has not disappeared. To call this window, simply press the key combination "Win + R" on the keyboard and it will appear.

Note: again, to bring up the Run dialog use Win(Start) + R on the keyboard, then, in the input field, type any command to access the corresponding tool and press Enter.

List of commands for the Run window

one. "\"

Most users usually open the C drive through windows explorer or desktop icon My Computer. There's nothing wrong with that, there's just more fast way to do this is using the Run dialog box by entering a backslash (slash) into it.

2. "."

The single-dot command opens the home folder of the current user.

3. ".."

The two-dot command opens the "Users" popup, which is directly located in the C drive.

4.ncpa.cpl

This command opens a folder network connections.

5.appwiz.cpl

Use this command if you want to quickly access Programs and components where you can uninstall any installed program on your computer.

6.Calc

If you want to open the calculator built into Windows, the fastest way to do this is to type the word calc in the Run dialog box.

7.CMD

Everyone Windows users sometimes you have to deal with the command line. Typing cmd will quickly open a command prompt without administrator privileges.

If Command Prompt is too old for you, try PowerShell instead. To do this, simply type (without a space) into the input line of the Run dialog box and it will open without administrator privileges.

9. perfmon.msc

Enter this command in the Run dialog box and a utility will be launched that allows you to monitor Windows performance, program performance and provides access to many other useful data.

10.powercfg.cpl

Windows allows you to adjust the power consumption of your computer by reducing screen brightness, computer power, and so on. Using this command launches a window.

11.devmgmt.msc

This command opens Dispatcher Windows devices , which allows you to manage all of your computer's hardware. You can also use the command for this hdwwiz.cpl.

12. Regedit

The regedit command opens a window. This is a hierarchical database that stores the settings for almost everything on your computer: program settings, drivers, user passwords, Windows settings and everything else.

13.msconfig

Use this command to open the Windows system configurations, where you can configure boot, startup options. services, services, etc.

14.sysdm.cpl

Opens system properties

15. netplwiz

This command is useful for computers with multiple . Administrators can open any account and customize it however they want. And other users can open and edit only their own Personal settings user.

16.firewall.cpl

Want to quickly disable or enable windows firewall? - just enter firewal.cpl in the run box, and the firewall settings window will appear right in front of you.

17. wapp

If you want to check or adjust settings windows updates then use this command.

18.services.msc

Type services.msc and press the Enter key, a window will open Services, where you can easily configure the settings for each service individually.

19.msinfo32

If you want to get system information quickly, use the msinfo32 command and you will have access to all system information, including hardware and software.

20.sdclt

33.utilman

Above we showed you how to open on-screen keyboard on Windows. But besides that, there are other useful Windows utilities like Magnifier, Narrator, etc. You can access them with this command.

34. write

Last but not least, the write command opens the built-in Windows editor word pad(Notebook).

The Run tool in Windows, including its commands, is one of the most the best means, which you can find on Windows. In addition to the commands listed above, there are hundreds of other commands that give access to various tools and utilities of the operating system.

Command line - special program, which allows you to control the operating system using text commands entered in the application window. Its interface is completely text-based, unlike the usual look of the operating system.

Performing actions using text expressions, of course, is not as convenient as clicking on the icons on the screen, selecting menu items, opening program windows. But sometimes it is simply necessary to open the command line, for example, if there are problems in the system, working with network and equipment settings, calling system applications. Here are some examples of its use:

  1. The systeminfo command collects information about the system, including installed updates and network information. The graphical interface does not provide such data.
  2. chkdsk - check the disk for errors with the creation of a report.
  3. sfc /scannow is a useful command to run a scan and repair corrupted files.
  4. ipconfig - allows you to find out the IP address of your computer in a split second.
  5. ping - check network operation in case of problems with the router.
  6. help - the command line will display a list of possible commands with brief information about them.

These are just a few examples beneficial use this application. In addition, through the program window, you can quite successfully work on a computer without resorting to the mouse.

Ways to turn on

There are several options to open the Windows Command Prompt:

In a version higher than Windows 8, in order to apply this method, you need to click on the magnifying glass next to the username.


Also for quick start you can create a desktop shortcut and hotkeys. You can create a label like this:

  1. In the explorer window, find the “Windows\System32” folder, right-click on the cmd.exe file in it, then “Create Shortcut” and select a name for it.
  2. Right click on an empty space on the screen context menu find "Create Shortcut". In the field that appears, type C:\Windows\System32\cmd.exe. Next, select a name and click OK.

Now you can assign hotkeys. Call the context menu of the created shortcut, click "Properties", tab "Shortcut", in the field " Quick call» enter the desired combination.

Please note that when launched using a shortcut, search window and explorer, the command line is launched from the System32 folder, and using the Run item of the Start menu from the Users folder on your computer.

Opening with elevated rights

Among the methods discussed, some allow you to enable the command line as an administrator. The point is that even if current work you are using account Administrator, you do not have full rights to manage the system. This is done to improve reliability and reduce the risk of damage from malware.

Using commands CMD Windows you can launch system utilities much faster than doing it in the usual way. And, although not everyone understands the meaning of this text-based interface, considering it outdated, in fact, the tool is quite useful.

And not only for professionals, but also for ordinary users. Although, to run most commands, you should run the command line (cmd) as an administrator.

The need to use the command line

The cmd line, which is standard tool Windows platforms, is no different in different versions operating systems - and in the seventh, and in the eighth, and in the tenth, and even in XP. And all teams work the same in each of them.

The advantage of using a string is to speed up work - sometimes typing the desired command is much faster than searching in system folders the corresponding file. Moreover, to speed up work with CMD, a link to it can be displayed on the desktop - or even on the quick launch bar.

The disadvantages of the interface can be called:

  • manual command input from the keyboard;
  • the need to run CMD as an administrator (otherwise, most commands do not run);
  • quite a large list of commands that are difficult to remember.

Externally, the command line in many ways resembles the interface of the DOS system. And, although it allows you to solve many more tasks, some commands overlap with the legacy platform. For example, "format", "cd" and "dir", which are necessary for working with folders and disks.

Working with the interface

Before you start working with the command line, you must first start it. To do this, you can use several methods:

  1. Open the "Run" menu (by pressing Win + R at the same time) and enter the command cmd.exe;
  2. Go to Windows folder on the system drive, open the System32 directory and run the file called cmd.exe. You can simplify the task by creating a shortcut that launches the same application and install it on the desktop;
  3. Open the "Start" menu, go to the "All Programs" section, then to the "Accessories" subsection and find the command prompt.

Things to know: After the first launch through the Start menu, CMD appears at the top of it - in the list of most frequently launched applications and utilities. And you can open the line while working in any application (even in the game), just by pressing the Win button on the keyboard.

Rice. 1. Command line of the Windows operating system.

The standard view of the command line is a black window with white text. If this option does not suit the user, he can change the colors depending on his preferences.

To do this, right-click on the top of the window and go to the properties of CMD. In the window that opens, you can choose the location of the line, and the colors of the text or window, and even the font sizes. Here it is also possible to expand the interface to almost the entire screen, increasing the level of convenience of working with it.

Rice. 2. Change command line settings

Commands to help you work with CMD

Hotkeys help make using the command line even easier - although they are not the same as the usual Windows combinations. Instead of pressing standard sets Ctrl + C and Ctrl + V, copying and pasting text is done as follows:

  1. Click on the selected line open window CMD right click;
  2. Select "Mark";
  3. Select text with the left button;
  4. Right click again. After that, all information is in the operating system clipboard.

In order to paste the copied information, press the same right button and select the "Paste" item. You can simplify the copying of data by checking the box "Select by mouse" in the properties of the command line.

After that, the text can be immediately selected with the left button. If you uncheck the quick insert item, the data is inserted over the already written commands.

Hotkey List

When working with the command line, use the following "hot keys":

  • up and down arrows allow you to move the cursor around the window, including already entered commands;
  • Home and End move the cursor to the beginning and end of the line, respectively;
  • the left and right arrows together with the Ctrl key pressed simultaneously allow you to move the cursor in a given direction by a whole word;
  • Insert, just like in any text editor, toggles right-shift text insertion and overwriting over written data;
  • Esc deletes the selected information;
  • F1 provides the input of the last recorded command one character at a time;
  • F5 prints the previous command;
  • F7 lists multiple recent entries. By default, their number is 50.

Basic commands

The list of basic commands that most users need is relatively small and consists of commands that perform the following actions:

  • work with directories;
  • issue statistics on the operation of various applications, the network and the operating system as a whole;
  • restore drivers;
  • turn off the computer.

Using the command line, you can even format the drive (including the system drive, which is not formatted from the Windows system by any other means) and even stop the process. And yet, using CMD, the user gets much faster access to the registry editor and the window for changing the system configuration.

Working with directories

The main command for working with directories is dir. With its help, you can check the contents of an open directory. And, if you want to open another folder, you should additionally specify the path to it. For example, select "dir C:\" or "dir D:\".

Rice. 3. Content check logical drive C.

The second command for working with directories is cd. With its help, you can go to any selected folder. For example, by writing "cd C:\Windows" at the command line, go to system directory. To open a folder on a drive that is already selected, issue a command like "cd /D D:\".

Rice. 4. Transition from local disk C to D drive.

The mkdir command creates a new folder. And the parameter that is set after it determines the name of the directory. So, after entering "mkdir D:\New_Folder", the corresponding directory appears on drive D. If the user specifies several directories in the list at once (for example, "E:\New\Games\Fallout_3"), an entire folder tree can be created.

Rice. 5. Create a new folder from the command line.

Executing the rmdir command allows you to remove a directory by specifying the full path to it. For example, by writing "rmdir D:\New_Folder" you can delete the newly created folder. Although, if there are other files inside the directory, a message appears on the screen stating that it is not empty. You can delete a non-empty folder by typing rmdir /S in the command line. Before deleting, select the item "Y" (Yes), confirming your action.

Rice. 6. Deleting a folder using the rmdir command.

Turning off the computer

Using the shutdown command, you can turn off the computer - moreover, either immediately, or by setting a timer:

  • shutdown /s simply terminates the operating system, closing all pending processes;
  • when you select the shutdown /s /t 3600 command, the timer will be set to exactly one hour. If you want to set any other time, instead of 3600, the corresponding number of seconds is written;

Rice. 7. Enable automatic shutdown of the system.

Rice. 8. Cancel shutdown.

Commands work the same in any operating system. The only difference is in the labels that appear. So, for example, for Windows 7 messages are located in the lower right corner of the desktop.

View statistics

Viewing computer statistics begins with the systeminfo command. It gives the maximum amount of information about Windows system. Although, to obtain information, it is more efficient to use not a system utility, but special applications.

For example, AIDA64 is a general-purpose data-gathering program whose only drawback is a shareware license. A month after use, you will have to pay for the utility - from 1400 to 2200 rubles. per computer, depending on the number of purchased licenses.

Rice. 9. Obtaining information about the computer and operating system.

The driverquery utility allows you to get acquainted with the list of drivers and their properties. In the list that appears on the screen, you can see the type of control program, the date of reference and the name of the module.

Rice. 10. Displaying a list of drivers.

A utility called pathping, when run, shows information about the data lost in transit between the start and end points. This command calculates the loss factors for various routers. And according to the results of the work, the utilities determine access problems for individual routers.

Rice. 11. A utility that checks network operation.

The Netstat application shows information about active connections and statistics for various network protocols. If you run the command without specifying specific parameters, only TCP connections are displayed.

Rice. 12. Verification active connections TCP.

The tasklist command displays a list of all processes launched by the system. It can be used to access data from remote computer. Although, if additional parameters are not specified, information is displayed only about the current device.

The ipconfig utility displays information about the IP address and other parameters network adapter. Additional options are used along with the command, such as /all, which allows you to get information about each of the adapters.

Rice. 13. Getting information about network connections.

Changing system settings

The msconfig utility allows you to call up a menu with which you can change the configuration of the operating system:

  • a list of programs automatically loaded with the system;
  • launch options;
  • Windows boot options.

Most often, the command is used to remove or add an application to the startup tab. And sometimes they make changes to the boot order of operating systems - if two of them are installed on the computer (for example, Windows 10 and Windows XP, each of which may be more convenient for a particular user).

Rice. 14. Call the menu for changing the system configuration.

Running the regedit utility opens the editor system registry- one of the most useful applications to get rid of leftovers remote programs, make changes to services, and fix problems. It is worth noting that changing any values ​​​​(not to mention deleting) is required very carefully. Errors in the registry can lead to system crashes and even reinstallation. Read also our material: TOP 3 cleaning programs Windows Registry 7.

Rice. 16. Start checking files on the system drive.

The format command, which has not changed for decades, allows you to format any disk, including USB flash drives. Selecting "format C:" formats system partition. And with the help additional options you can define a file system (/fs), set a volume label (/y), and even assign cluster sizes (/a). Without setting certain conditions, the cluster is installed automatically.

Rice. 17. Formatting disk H through the command line.

Stopping processes

The command can be used to stop a specific process. For this, an identifier can be used (for example, 2616, if we are talking about the graphical editor Paint) and the /pid parameter. In addition, when stopping, the name of the process itself and another /im parameter can be used. The same editor is closed with the taskkill /im MSPaint.exe command.

Rice. 19. A utility that restores damaged system files.

Screen cleaning

After executing several commands, the window is filled with text, which may be an obstacle for further work. You can get rid of unnecessary data using the CLS (Clear Screen) command. After its launch, the screen is completely cleared, leaving room for further user actions.

findings

With the constant use of basic commands, they are easily remembered by the user. And in order to learn about new utilities or remember the names of old ones, you need to enter /help on the command line. A list of possible commands will appear on the screen, which are unlikely to be useful for the average user, but can simplify the work of local network administrators.

What is command line

Majority computer users know little about the command line. While more experienced and advanced users quite often use it to perform various tasks.

Very often, the command line is used by administrators to perform the same type and routine tasks, when administering servers and other things.
The command line has been in Windows since the days of MS-DOS and allows users to directly interact with the Windows operating system.

The command line or, as it is called the console, looks unremarkable and to interact with the operating system, you need to enter commands, observing a certain syntax.

That is why it is used to create batch files (BAT-files) that perform a certain sequence of operations to perform a given task.

What are the benefits of using the command line

As already noted, the command line is mainly used by advanced users and administrators. With its help, the user can automate the execution of certain tasks of the same type.

That is, if you need to copy or rename files under certain conditions, then this is easily organized by creating special batch files that contain command line commands. Moreover, such operations will be performed without user intervention.

The advantage of the command line is easy to see if you need to perform the same type of operations on large quantity files. For example, you need to move or copy (or delete) certain types of files to a particular location.

Administrators using the command line get the necessary information about the operation of network devices and can judge possible reasons malfunctions and failures. Network administrators will be able to obtain information about network activity and its health.

How to open command prompt

To open a command prompt window, simply open the Start menu and type Command Prompt in the search bar, then double-click on the corresponding result.

You can also just go to the All Programs section and in the Accessories folder and there will be a command line shortcut. Finally, you can use the Run utility by pressing the Win + R key combination or launch the Run utility from the Start menu. Now type in the Open cmd line and press Enter.

The command line executable itself is located on the system drive at the following path: Windows/System32/cmd.exe.

Customizing the command line window

The standard command prompt window is presented as a black background with white font. However, this is not convenient for everyone, especially if the user often resorts to the command line. Settings, both appearance and others additional settings command line will allow you to work more comfortably with the console.

To do this, just click on the window icon in its left part with the left mouse button (or press Alt + Space). A context menu will appear where, by selecting Properties, you can make basic settings for the appearance, mouse cursor, size and location of the window.

Options such as Mouse Selection will allow you to copy the selected command line text, the number of buffers determines how many lines on the command line will be available for viewing by the user. The buffer size allows the user to scroll through previously typed commands using the Up or Down Arrow keys.

Command line commands available to users

The command line has many commands, the list of which you can get in the command line itself. To do this, just enter the HELP command and the screen will display a complete list of commands with explanations:

ASSOC Screen display or modification of file name extension mappings.
ATTRIB View and modify file attributes.
BREAK Enables or disables the ability to use CTRL+C on a DOS system.
BCDEDIT Sets properties in the boot database that allow you to control the bootstrap.
CACLS Displays data and modifies file access control lists (ACLs).
CALL Calls one batch file from another and can also pass input arguments.
CD Displays the pathname or moves to another folder.
CHCP Output or set encoding.
CHDIR Displays the title or moves to another folder.
CHKDSK Diagnostics of the drive for errors.
CHKNTFS Shows or changes the drive diagnostics during boot.
CLSO cleaning the display of all characters.
cmd Runs a command line program Windows strings. You can run an infinite number of them on one computer. They will work independently of each other.
COLOR Changes and sets the main background of the window and the fonts themselves.
COMP Shows the differences and compares the contents of two files.
COMPACT Changes and shows file compression in NTFS.
CONVERT Changes FAT disk volumes to NTFS. The current drive cannot be changed.
COPY Creates a copy of a file or files and places them in the specified location.
DATE Shows or sets the current date.
DEL Destroys one or more files at once.
DIR Shows the names of files and folders with their creation date, located in the current folder or specified in the folder options.
DISKCOMP Compares and shows the differences between 2 floppy drives.
DISKCOPY Creates a copy of the contents of one floppy drive to another.
DISKPART Shows and changes the properties of a disk partition.
DOSKEY Modifies and re-invokes command lines; creates macros.
DRIVERQUERY Displays information about the "state of affairs" and attributes of the device driver.
ECHO Displays textual information and changes the display mode of commands on the screen.
ENDLOCAL Brings to an end the localization of the environment for batch file.
ERASE Destroys a file or files.
EXIT Terminates a command line program
FC Shows differences between two files or two sets of files and compares them
FIND Searches for a text string in files or in a single file.
FINDSTR Advanced search for text strings in files.
FOR Cycle. Repeats the execution of the same command the specified number of times
FORMAT Formatting the drive for Windows.
FSUTIL Shows and sets attributes file system.
FTYPE Provides the ability to edit and view file types, which are primarily used in file name extension matching.
GOTO Transfers control to another specified command.
GPRESULT Displays information about group policy for a computer or user.
GRAFTABL Allows Windows to display the extended character set in graphics mode.
HELP Displays all data about existing Windows console commands.
ICACLS Shows, modifies, archives or restores ACLs for files and folders.
IF Executes commands based on a given condition.
LABEL Creates, modifies, and destroys volume labels for drives.
MD Creates an empty directory.
MKDIR Creates an empty directory.
MKLINK Creates symbolic and hard links
MODE Configures system devices.
MORE Sequentially displays information in blocks of one screen size.
MOVE Moves files from one location to another.
OPENFILES Shows files that are open on shared folder remote user.
PATH Displays or sets the full path to executable files.
PAUSE Terminates the execution of command line commands and prints informative text.
POPD Restores the previous active folder value that was saved using the PUSHD command.
PRINT Prints the contents of a text file.
PROMPT Modifies the prompt on the Windows command line.
PUSHD Saves the active folder value and navigates to another folder.
RD Deletes a folder.
RECOVER Resurrects readable data from a bad or damaged hard drive.
REM Places comments in batch files and the CONFIG.SYS file.
REN Changes the name of both files and folders.
RENAME Similar to the REN command.
REPLACE Swaps files.
RMDIR Destroys a directory.
ROBOCOPY Advanced tool for copying files and entire folders
SET Shows, sets, and destroys Windows environment variables.
SETLOCAL Localizes environment changes in a batch file.
SC Allows you to work with services
SCHTASKS Allows you to run any program and sequentially execute the necessary commands according to a given plan
SHIFT Changes the position (shift) of the inline parameters for the batch file.
SHUTDOWN Shuts down the computer.
SORT Sorts the input according to the given parameters.
START Launches a program or command in a new window.
SUBST Assigns a drive name to the specified path.
SYSTEMINFO Displays information about the operating system and configuration of the computer.
TASKLIST Shows a list of all running processes with their IDs.
TASKKILL Terminates a process or application.
TIME Sets and displays the system time.
TITLE Sets the name of the window for the current session of the CMD.EXE command line interpreter
TREE Displays the directories of the drive in a convenient visual form.
TYPE Displays the contents of text files.
VER Displays summary information about the version of Windows.
VERIFY Checks for file write errors on the drive.
VOL Displays labels and serial number drive volumes.
XCOPY Creates a copy of files.
WMIC Displays WMI on the command line.

For novice users, knowing the command names is too little. According to the above list, you can only evaluate the capabilities of the command line. To use a particular command, you must follow the syntax for writing commands. You can again find out the syntax for any command using the command line itself. To do this, enter the command and after its name add /? and press Enter. The command HELP COMMAND_NAME will give the same result. For example:
COPY /? or HELP COPY

As a result, you will get a detailed syntax of the specified command with an explanation of all arguments.

In order not to repeatedly type the same command with different arguments, use the UP-DOWN arrow keys on the keyboard. Thus, the previous commands entered into the console will be displayed in the window.

When working with the command line, many people note that the usual key combinations for copying and pasting do not work, and this is true. To copy the selected text and then paste it, you must use the context menu called by pressing Alt+Space.

After that, you need to go to the Edit section. Further, if mouse selection is not enabled in the settings, select the Mark and select the desired fragment of the console text. Then again go to the context menu and in the Edit section select Copy, or just press Enter, and to paste in the context menu, select Paste.

Create command line batch files

Batch files are files with multiple lines of commands that will be executed sequentially automatically. Batch files are convenient to use for performing routine and similar tasks.

To create such a file, you need to write one or more commands in a notepad text editor, following the command line syntax. After saving the file, you need to change its extension from TXT to BAT.

After running such a file, automatic execution commands written in it. In this case, a command prompt window will appear while the commands are being executed.

None dialog boxes or the results of the execution of the command are not displayed to the user, except for those provided by some commands.
An example of a simple batch file:
DEL C:Temp /Q
PAUSE

This file will clear the temporary Temp folder, located in the root of drive C. Moreover, a request to delete files will not be displayed (switch / Q). The PAUSE command here will allow you not to close the command prompt window after cleaning up the folder. That is, the user will be able to see the result of cleaning the temporary folder. After pressing any key, the command prompt window will be closed.
The PAUSE command is very often used specifically for debugging various scripts and checking the operation of batch files.

To exit the command line, simply close the window with the mouse or enter the EXIT command into the console.

Windows to communicate with a computer in a language it understands. However, programs are still launched using the usual command line (console). It is the ancestor of the interface and a means of communication between the user and the PC. The essence of the work is that commands are entered into a line using the keyboard. This control method is often used system administrators. Regular users should also know the basic commands.

Console - what is it?

launch Windows programs carried out using the console - command line. This is one of the types of text interface that has become available to many MS DOS users. Commands are entered on the command line manual mode. The console is considered by many to be an obsolete way of managing that users and system specialists often need. The command line is a black window with a green location label and a blinking cursor. The corresponding command for the computer is entered in the specified place.

The command line is an incredibly handy window for solving a lot of problems. However, to interact with the console, you will need knowledge of writing commands. The advantage is that they reduce the time to complete complex actions. To do this, just enter the desired task in the line.

Why are commands needed?

Commands for the command line are necessary to establish user contact with the operating system and computer. Working with the command line is an urgent need for specialists who deal with system administration. The console is a small part of what can be used as a tool to work with Windows. The command line is convenient, fast, with its help it is easy to solve many issues. To work with it, you will need knowledge of teams and skills that will lead to a positive result.

CMD - there are a lot of commands. Practicing will help you remember the main ones. With the help of commands, you can change, edit files, create, restore partitions, configure, start, restart the computer, delete folders, copy, and much more. Experts advise making a list of important commands in alphabetical order in a notebook. It is convenient and helps to quickly navigate.

How to start?

Commands for the Windows command line run without much difficulty. In spite of GUI, the console has always been and is main element computer control. The basics of working with the console will be useful to the average user. To start the command line, open the menu: "Start" - "Run". Enter the word "Cmd" in the window that appears, press "Enter". If the version of the operating system does not have the "Run" item, then the combination "Win + R".

In Windows 7, right-click on "Start", go to "Properties" - "Settings", check the box next to "Run". If you need to open the console as an administrator, enter the command "Cmd" in the "Start" search bar, right-click on the "Cmd" program, select "Run as administrator". It is convenient to create a shortcut on the desktop that will open the console. Appearance line windows can be changed at the request of the user (color, font, location).

Sometimes you may have problems copying and pasting text into the command line. In the case of the console, the clipboard buttons do not work. If you want to make a copy, right-click on the window, select "Mark", select the text with the left mouse button, and then right-click. To paste text or caption, right-click on the "Paste" command prompt window. In addition, you can work with the console using "hot" keys on the keyboard, the "up / down" arrows.

Main

The main commands for the command line help the user to solve tasks of paramount importance in a short time.

Additional

The list of commands, which is auxiliary, is often used by system specialists to work with information located on the hard drive.

  • The "Format" command deletes data from the hard drive, prepares it for copying. As an example of a formatting command: "FORMAT drive:/FS:FAT (file system)".
  • "FC" command compares files with each other.
  • "IPCONFIG" - shows complete information about the Network settings, and also reports the type network connection IPCONFIG/ALL.
  • The "PING" command will check the availability of the site. Example: "PING fb.ru". The presence of numbers in the answer indicates that everything is in order, the site is available for visiting.

Network Commands

The command-line commands for the Web allow you to efficiently surf the Internet, fix errors, and configure settings. If you need to know your IP address, enter the "ipconfig" command in the console. In different variations of the Internet connection, you can find out complete information about the Network. After entering, the user will receive a list network connections that are used by the computer. If the user's computer is connected to the Internet via wireless communication Wi-Fi, the main gateway will be selected to communicate with the router. The user can access its settings through a command entered into the console. If the computer is connected to local network, you can find out about the IP address through the command line with the appropriate request.

Using the "Ping" and "Tracert" commands, the user will quickly find and fix problems in the Internet and browser. The "netstat -an" command displays network connections and ports. This is very useful program, because it displays various network statistics. The "-an" switch opens a list of available network connections, ports and IP addresses. The "Telnet" command connects to the servers of the same name. If you need information about network settings, use the "Ipconfig" command. Without additional parameters, the command displays information about the IP address. If you need specific information, complete the "All" command. Entered in the line "Ipconfig / flushdns" - clears the cache in Windows.

Filters

Filters are command line commands that are used with the channel redirect character. They are needed to sort, view and select information from other teams. Filters organize, divide, highlight part of the information that passes through them. These commands include the following:

  • "More" - displays the contents of the file;
  • "Find" - searches for the specified characters;
  • "Sort" - sorts files alphabetically.

In order to send data from the file, the symbol "L" is used, to direct the channel to the output "I".

Shutdown

In addition to the built-in CMD, the console is used to run regular programs. In order to enter it, just type the desired combination of letters in the "Run" window. If you need to view the results, it's better to use a string. "SHUTDOWN" is a command that terminates Windows work if for some reason the Start button does not work. It is useful when the computer is performing a task that cannot be interrupted (and the user needs to leave and not leave the computer turned on for a long time). The device will automatically turn itself off when the work is completed. It's better than setting a timer.

Type the following command "Shutdown-s-t-1300", press "Enter". The numbers are the time in seconds after which the device will turn off. The command to restart the computer from the command line is as follows: "Shutdown-r". Click "Confirm" to activate. The "At" command - starts the PC at the time specified by the user. This utility reads and groups jobs in the Windows operating system.

Formatting

The list of commands for the console is huge. Many of them are harmless and simple, but there are special ones among them that require caution on the part of the user. Be careful! Sometimes it is necessary to completely format a disk or flash drive. The command to delete all data looks like this: "Format C", auxiliary parameters "/fs" - determine the location of the file system of the formatting disk, "/v" - sets the volume label, "/a" - cluster size. Do not execute the format command if you are not sure of your actions and do not know why this is necessary. The command deletes all information from the PC!

Examination

Some command line commands are designed to check disks for system errors. The "CHKDSK" command without additional parameters displays status information hard drive. If errors are found, additionally enter "/f" to correct them. Before checking a disk, block it. If the console is full of commands, type "c/s" into the line to clear the screen.

System files will be checked by the "Sfc" command. It can be used to restore corrupted files. The command is supplemented with the parameters "/scannow", "/scanonce", "/scanboot", which check and fix system errors in files.

Other

It is not possible to know all the commands of a line, but some of them will be useful to the user. For example, the "Assoc" command changes the association between an extension and a file type. If the user wants to know detailed information about the operating system and the state of the computer, he should type "Systeminfo". Using the registry editor "Regent" you can change hidden settings OS. However, if you do not know what's what, it is not recommended to do this because of the risk of breaking Windows. Calling the system configuration - special service is easy by typing "Msconfic" at the command line. If you want to learn more about the commands, write "Help" in the console line, taking into account that the seventh or eighth version of Windows acts as the operating system.

Experts include network, system and filters among useful commands for the user. The "At" command consists of a whole set of commands that are used to install, reinstall, configure the modem. It is also considered the planning team. With its help, you can change, cancel, set up tasks for remote or local computer. In operating system Windows is better use the "SCHTASKS" utility instead of the "At" command. Its possibilities are much wider.