How To Use The Command Line

Table of contents:

How To Use The Command Line
How To Use The Command Line

Video: How To Use The Command Line

Video: How To Use The Command Line
Video: Windows Command Line Tutorial - 1 - Introduction to the Command Prompt 2024, May
Anonim

The command line in Windows operating systems is provided as a text-only product, i.e. it has no graphic origin. Using the commands used in the command line, you can perform some actions that cannot be performed with conventional tools in graphical mode.

How to use the command line
How to use the command line

Necessary

Command line of Windows operating systems

Instructions

Step 1

The command line executable on Windows operating systems is cmd.exe. This file can be found in the C: WindowsSystem32 directory. If you are not already familiar with navigating through the folders on your hard drive, launching the command line is much easier. Click the "Start" menu, select "Run", in the window that opens, enter the value cmd or cmd.exe and click "OK".

Step 2

Also, this utility can be launched in another way. Click the "Start" menu, select "Programs", from the list that opens, select the "Accessories" section, then the Command Prompt item.

Step 3

Working with the command line involves entering some commands. There are a number of commands that are constantly used on the command line, so their names have been shortened to a minimum, for example, the cd command. This command is needed to go to the specified directory. After starting the command line, enter the cd command, and after a space, specify the full path to the folder (C: Program FilesPrimer).

Step 4

To view the contents of a directory of your choice, enter the dir command and press the Enter key on your keyboard. It is also possible to save the results of this query into any text document, the name of which you can specify yourself. For example, in an open command prompt window, enter the command dir> rezultat.txt and press the Enter key. The title for the text document was taken arbitrarily, i.e. you can change to another option.

Step 5

If you are not satisfied with the display of values in the command line window, change it to your liking by going to its settings. This can be done by left-clicking on the upper left corner of the program by selecting "Properties". Because the main work in this program occurs using the keyboard, you can call the settings section by pressing several keys: press the key combination Ctrl + Space, then click "Properties".

Step 6

Most often, in the command line window, the settings for displaying the font, its size, and color are subject to change. But these are not the only changes worth making to this program. Do not forget that the command line, even though it is based on working with text, has graphical capabilities as well. Activate the "Select with the mouse" option in the "Edit" block, this will save valuable time spent on transferring the desired value to a separate document.

Recommended: