ComputersOS

Windows Command Line

Usually, for most users, the command line remains something mysterious from the programming world, as few people encounter it when working. But cases when it is simply necessary are not uncommon. For example, it can be useful for checking network settings, which can not be done in 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 more complex ones, for example, wuauclt.

It should be noted that these commands are not only for the command line. They can be called without it. However, they very often output the result to the standard output, that is, if they are called without the command line, then their result flashes before your eyes very quickly, almost unnoticeably. So, start the command line with the help of "Start" - "Run", after which you need to enter cmd - ok. If there is no such item in the menu, then you can use the combination WIN + R.

Basic commands: description

The command line always shows which directory you are currently in. To go to a different directory, you can use the cd command, you just need to enter it, and then write the address of the new directory, and then press enter. And here the point is that you can specify both the full path and the relative one, that is, it will be counted from the current directory. And to switch to another drive, you will not need to use the cd command, you need to add it, for example, with the d: command, and then confirm.

If you wrote a long team that you confirmed, then the system simply "swore", and you understand where your mistake is, it is not necessary to write everything from the beginning. It is worthwhile to press the up arrow, which will call the previous command, which you can rewrite.

The following basic commands are del, move and copy. The first is for deleting a file, the second is for moving it, and the third is for copying. You can practice on some files that are not valuable. To base commands it is quite possible to carry and path. You can enter it and look at the result. Programs from the directories listed in its parameters can be started without specifying the full path. To add a new directory, you need to perform simple manipulations, by adding path =% PATH%; newdir.

The Windows command line does not allow copying and pasting using standard operating system shortcuts , but it has a context menu, which is very convenient. When you right-click in front of you, all you need is displayed.

Command line: useful utilities

You can use several convenient commands that will allow you to do something new for yourself.

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

Msconfig is a special utility through which you can configure what to run or do not start the next time you turn on your computer. This can be very useful if you are looking for reasons for braking in the work.

Gpedit.msc configures group policies. This is a very complex topic for coverage in this article.

Services.msc allows you to manage the main services of the operating system.

Wuauclt / detectnow allows you to start the process of searching for updates.

Getmac allows you to learn the MAC address of your computer without having to use any special commands or parameters.

It's important to say that the Windows 7 command line works exactly the same way with the same commands. Therefore, you will not have problems with the transition to a new operating system.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.