Windows Command Line

click fraud protection

Typically, for most users the command line and remains something mysterious world of programming, as her few encounters with the work.But are often cases where it is absolutely necessary.For example, it may be useful to check the network settings, you can not do any other way.However, the command line is not limited to the network settings.Let's look at how simple commands, for example, cd, and move, as well as the more complex, for example, wuauclt.

worth noting that these teams are not just for the command line.They can also be accessed without it.However, they are very often the result is output to standard output, that is, if they are called without command line, they are the result of flashes before your eyes very quickly, almost imperceptibly.So runs the command line using the "Start" - "Run", then you need to enter cmd - ok.If the menu item does not like, then you can use a combination WIN + R.

basic commands: Description

the command prompt, always seen in a directory at the moment you are.To switch to a different directory, you can use the command cd, it should be easy to type, and then write the address of the new directory, and then press enter.And then the fact that you can specify as the full path or a relative, that is, it will count from the current directory.And to switch to a different disk, you will not be sufficient to use the command cd, it must be supplemented, for example, the command d :, and then confirm.

If you had to write a long command you have confirmed, after which the system just "cursed" and you understand where your bug is not necessary to write all over again.Just press the up arrow, which will cause the previous command, you can rewrite.

following basic commands are del, move, and copy.The first is to delete the file, move it to the second and the third copy.You can practice on some files that are of no value.By the basic commands can be referred path.You can enter it and view the result.Program of the directories listed in its parameters can be run without specifying a full path.To add a new directory you must make a simple manipulation, appending path =% PATH%; newdir.

Windows command prompt does not allow copy and paste using standard shortcut keys of the operating system, but it works the context menu, which is very convenient.By right-clicking you will see all that is needed.

Command line: useful utilities

can use several convenient commands that allow you to do something new for themselves.

Shutdown - allows Shutdown computer directly from the command line.After the team can finish very important parameters: -r for reboot, -t N - off will occur after N seconds, -a - allows you to cancel the already scheduled restart.

Msconfig is a special tool through which you can configure that to run or not to run the next time you turn on your computer.This can be very useful if you're looking for reasons for the braking operation.

gpedit.msc provides Group Policy settings.This is a very difficult subject for illumination in this article.

services.msc enables you to control the basic operating system services.

wuauclt / detectnow allows you to start the search for updates.

Getmac lets you know the MAC address of your computer without the need for any special commands or parameters.

is important to say that the command line of Windows 7 works the same way and with the same teams.Therefore, you have no problems with the transition to a new operating system.