System Tips: Windows 10 Command Prompt practical techniques

Although Windows 10 replaces the Command Prompt window with Windows PowerShell by default, the Command Prompt still has its practical use. Here are a few examples of this.

1. Collecting command information directly with the clipboard

After executing a command in a Command Prompt window, the result of the execution or some error messages will be given. If you need to record this information or share it with others, you can use the command format of “<command> | clip” to automatically collect this information into the clipboard and then paste it, which saves you the trouble of copying it from the command window.

For example, to extract the help information of all basic commands in the command prompt, you can execute the command “HELP | CLIP” (Figure 1).

1817A-MLYF-1

After executing this command, the result is silently copied to the system clipboard. Open a notepad file and press Ctrl+V to see the result of HELP command execution (Figure 2).

1817A-MLYF-2

2. Check if someone is stealing or “hacking” you

Use the command “NETSTAT -A” in the command window, and you can see the IP addresses of your computer and router in the displayed result (Figure 3). Next, open a web browser and access the default management IP address of the router (e.g. http://192.168.1.1 or http://192.168.0.1等). On the router settings page, find the “Additional Devices” or similar tab and look for the computer name, IP, MAC or hardware address. Compare these addresses with the IP addresses shown in the command window above. If some strange devices appear, then it is possible that someone is stealing your Wi-Fi network. This is when it’s time to set a new secure password.

1817A-MLYF-3

Similarly, you can also use the “NETSTAT -A” command above to check if someone is “hacking” our computer. The data in the protocol, local address, external address and status lists provide all the real-time information about the connection. Among these connections, we can determine which ones are suspicious by simply eliminating the ones actually established or used by the local system or user program, and thus determine whether an unknown person is connected to our computer.

3. Automatically copy the selected information in the command window

In the past, we were always bothered by the inconvenience of selecting information in the Command Prompt window. Now Windows 10 Command Prompt window just needs to turn on a simple option to enable carriage return to copy the selected content. Right-click on the Command Prompt bed title bar and select “Properties”. In the window that opens, make sure “Quick Edit Mode” is selected (Figure 4).

1817A-MLYF-4

Leave a Comment