Self-mastering Command Prompt on Windows 10


Command Prompt on Windows 10 helps us know a lot of information contained in the device, information about intenet networks … however, there are many things that CMD supports that you can research and learn more according to the internal content below.


To open Command Prompt, simply enter cmd In the Search box on the Start Menu, on the list of search results, click Command Prompt to open. Or alternatively use a key combination Windows + R To open the Run command window, then type cmd on it then press Enter to open Command Prompt. But to master Command Prompt on Windows 10 you will need to grasp the knowledge below.

Master the Command Prompt on Windows 10

1. Always open Command Prompt under Admin

You can run Command Prompt in standard mode and Admin mode. For some commands it is not necessary, but some require running the Command Prompt with Admin. This will help you execute more CMD commands and easily master the Command Prompt on Windows 10.

To always open the Command Prompt under Admin, you will have to create a shortcut and use that shortcut. Import cmd Go to the Search box on the Start Menu, then on the search results list, right-click Command Prompt =>Send to =>Desktop (create shortcut).

Right-click the shortcut you just created, select Advanced and tick tick Run as administrator. Click here OK, got it =>OK, got it to complete the process.

2. Access via Windows Menu + X (Power User Menu)

Press the key combination Windows + X to open the Power User Menu, which gives you quick access to Device Manager, Disk Management and Task Manager.

The Windows + X menu can also display the Command Prompt but may also show Windows PowerShell instead.

make command prompt on windows 10 2

If you want to switch between Command Prompt and Windows PowerShell, follow the steps below:

First press the key combination Windows + I to open the Settings app, then navigate to Personalization =>Taskbar. Optional state transitions Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows logo key + X to OFF.

Now when you open the Windows + X Menu, you will see the Command Prompt appear on the list.

3. Open Command Prompt via context menu (right-click menu)

On versions prior to Windows 10 build 14986, when users used keystrokes Shift + right click Into a folder will display the option Open command window here to open Command Prompt with the path specified in the directory you specified.

make command prompt on windows 10 3

However this option has been replaced by Open PowerShell window here because Microsoft doesn’t want users to dig into the Command Prompt. If you feel dissatisfied with this change and want to add a Command Prompt option, you can replace Command Prompt for Powershell Easily follow the instructions of Taimienphi.vn

4. Copy and paste operation

If you want to copy any text, press the key combination Ctrl + M to access Mark Mode. Left click and drag to highlight the text you need, then press the key combination Ctrl + C or press Enter to copy to clipboard.

Press Esc key anytime you want to exit Mark Mode. To paste text, just press the key combination Ctrl + V.

make command prompt on windows 10 4

If you feel the steps are cumbersome, right-click Command Prompt, choose Properties. On the Properties window, switch to Options tab, check selected QuickEdit Mode then click OK, got it. From now on you do not need to press any key before highlighting the text.

5. Use the arrow keys for the previous commands

If you have entered a previous command and you want to use it again, simply use the up and down arrow keys to move between commands. This trick is extremely handy in the case if you execute the same command repeatedly or want to edit something you’ve just entered.

make command prompt on windows 10 5

You can also use the right arrow key to enter the previous command character. This can be useful in cases if you need to enter multiple commands that have the same opening method.

Alternatively use the F7 key to view a list of all previous input commands, use the up and down arrow keys to navigate and press Enter to select. Or enter the following command in the Command Prompt window to propose:

doskey / history

6. Drag and drop input files

Writing a directory path name or file path name in the Command Prompt is quite tedious. However you don’t need to waste too much time, there’s a much faster way.

make command prompt on windows 10 6

Just navigate to the folder or file you want in File Explorer. Left-click on that folder and file and drag it into the Command Prompt window. The path of the directory and file will show up there.

7. Find help with any command

Have you ever encountered the situation where you cannot remember the usage of a CMD command or do not know what the CMD command is used for? Just appended /? Click on your order and its information will be displayed, including its usage and examples.

make command prompt on windows 10 7

For example, if you want more information about the ipconfig command, append it /? into the city command ipconfig / ?.

The above command will not run really, so you don’t need to worry too much.

8. Use Tab for Auto-Complete

Use Tab key to automatically complete your order. This Command Prompt mastering trick on Windows 10 is useful in cases where you don’t know the full name of the command or to save time. For example, instead of typing the full path of a file, you can use the Tab key to autocomplete.

make command prompt on windows 10 8

If that’s not what you need, just press and hold Tab key to skip the options, or press the key combination Shift + Tab to reverse through the options.

9. Export a File or Clipboard

If you want to save the output of the Command Prompt, you can copy and paste the output into a text editor, then save it. But in the Command Prompt you can do this faster.

make command prompt on windows 10 9

Just enter your command +> seems to lead to the storage location

For example, to export ipconfig to the tmp directory in drive E and create a text file named taimienphi.txt, just enter the following command:

ipconfig> E: tmp taimienphi.txt

In addition, you can export to the clipboard to paste into other locations. To do this, add | clip enter after your door. Example ipconfig | clip.

10. Cancel the order

If you send a command but you want to stop, just press Ctrl + C to end the command at the point where it will arrive. That is, it will not reverse what it has done, but will stop the command. And you don’t need to completely exit Command Prompt.

Make command prompt on windows 10 10

11. Execute multiple commands

If you want to execute multiple commands, you do not need to spend time sitting in one command at a time and waiting for the command to finish execution. You can instead separate commands with &&.

Make command prompt on windows 10 11

For example, if you want to export both the ipconfig and tree commands, simply enter the ipconfig && tree command. Also you can execute multiple commands at the same time, unlimited.

12. Customize the Command Prompt interface

The default black and white interface of the Command Prompt is iconic, but if you’re bored and want to change the interface, you can do this. To start customizing the interface, right-click on Command Prompt and select Properties.

On the Properties window, the first is Font tab, here you can change the size – Size and font – The font is used. Users are recommended to use TrueType font for clearer display.

Make command prompt on windows 10 12

Move to tabLayout. Here you can change the size and position of the Command Prompt window. In fact, doing this on separate windows is easier, using the default Windows feature of dragging the sides of the window and moving the Taskbar.

Finally access Colors tab. Use the radio button to choose a color correction, then select the color you want to set. Alternatively, you can enter the value red, green and blue. The Opacity slider will adjust the entire Command Prompt window – set to 100% if you do not want to adjust.

https://thuthuat.taimienphi.vn/lam-chu-command-prompt-tren-windows-10-27739n.aspx
Hopefully after this article, you will learn more tips and master Command Prompt on Windows 10 better, more effectively. If you want to add other Command Prompt tips, share your opinion with Taimienphi.vn in the comment section below the article.

.

Add a Comment

Your email address will not be published. Required fields are marked *