CMD commands, Command Prompt commands in Windows 7 and 8

The CMD command is used to access folders in Windows quickly. Some people also use the Command Prompt to ping networks, check hardware information, etc., of their computer. There are many different CMD commands; this article will summarize the most commonly used CMD or DOS commands (Windows 98, Windows 95, and MS-DOS).

The CMD command in the Run window of Windows 7 and 8 allows you to perform many installation options with Windows. In a previous article, Taimienphi guided you on how to fix CMD errors in Windows 7 and 8 when the computer reports an error after you have launched Command Prompt.

Picture 1 of CMD commands, Command Prompt commands in Windows 7 and 8

Commonly used CMD commands in Windows

In this article, we will provide you with a compilation of CMD commands in Windows 7 and 8 to perform everyday tasks that you would normally do manually, helping you save more time.

CMD commands, commands in CMD on Windows 10, 7, and 8.

First, you need to launch Command Prompt.

1. The command `run cmd Shutdown`: Shuts down the computer or schedules a shutdown.

Using software to shut down your computer is unnecessary if you know how to use CMD commands on Windows.
For example, if I need to shut down my computer after 10 minutes, I execute the CMD command by pressing Windows + R to open the RUN dialog box and typing or copying and pasting the command: " shutdown -s -t 3600 "
Where:
shutdown: Turns off the computer;
s: Abbreviation for shutdown
; t: Abbreviation for time;
3600: The shutdown timer in seconds (you can increase or decrease it)
. If you want to shut down the computer, replace 3600 with 0.

Picture 2 of CMD commands, Command Prompt commands in Windows 7 and 8

Then click OK to execute the command. A dialog box will open informing you that your computer will shut down after 10 minutes.

Picture 3 of CMD commands, Command Prompt commands in Windows 7 and 8

Therefore, we can replace the use of software to schedule a shutdown with this CMD command.

2. The command `cmd ipconfig`: Finds the computer's IP address.

If checking your computer's IP address through multiple steps is time-consuming, you can do it quickly using Command Prompt.
First, open Command Prompt by pressing Windows + R , then typing cmd and pressing Enter.

Picture 4 of CMD commands, Command Prompt commands in Windows 7 and 8

In the Command Prompt window that appears, type " Ipconfig " or right-click and paste it.

Picture 5 of CMD commands, Command Prompt commands in Windows 7 and 8

After typing "Ipconfig," press Enter to see your computer's IP address.

Picture 6 of CMD commands, Command Prompt commands in Windows 7 and 8

3. The cmd command "Ping": Checks the network connection.

It's not too complicated or time-consuming if you want to check your network connection. Windows also supports this by executing the " Ping website address " command in the Command Prompt. For example, to check the network connection, to ping google.com.vn, type "Ping goole.com.vn" into the Command Prompt and press Enter .

Picture 7 of CMD commands, Command Prompt commands in Windows 7 and 8

4. The command `run cmd ipconfig /flushdns` clears all DNS cache data.

When changing DNS servers, the effects may not be immediate. Therefore, Windows uses a cache to save DNS changes, saving time accessing previously cached addresses. To ensure Windows receives addresses from a new DNS server instead of the old cached address, simply run the command ` ipconfig /flushdns` after changing your DNS server.

Picture 8 of CMD commands, Command Prompt commands in Windows 7 and 8

After executing the command, the machine displays a successful message: Successfully. as shown in the image above.

5. Sfc /Scannow: Scans system files.

Windows includes a built-in System Files Checker that scans all system files, checks for system problems, and automatically repairs them. So how do you use System Files Checker? It's very simple: just open the Command Prompt window and type " sfc /scannow ".

Picture 9 of CMD commands, Command Prompt commands in Windows 7 and 8

Using the sfc /scannow command replaces the need to install other utility software, and it's done quite quickly and simply.

6. Netstat: Lists network statistics during usage.

The Netstat command displays all network statistics when used with different options. If you need to list network statistics, it's a useful command.

Picture 10 of CMD commands, Command Prompt commands in Windows 7 and 8

The CMD command is also used to fix situations where a computer is no longer connected to the internet. You can find instructions on how to fix network errors using the CMD command here.

7. Netstat –an: Lists connected network connections, network ports, and IP addresses.

One of the most interesting variations of Netstat is Netstat –an, which, when executed, displays a list of all open network connections on the computer along with the ports in use and the connected IP addresses.

Picture 11 of CMD commands, Command Prompt commands in Windows 7 and 8

8. Telnet: Command to connect to Telnet Servers

When you need to connect to Telnet servers, you can still do so directly using commands without needing any software. However, since Telnet servers are not pre-installed on your machine, you may encounter an error as shown in the image below.

Picture 12 of CMD commands, Command Prompt commands in Windows 7 and 8

You must install Telnet Servers by going to Control Panel, selecting Programs (1), then selecting Turn Windows features on or off (2), scrolling down to find and select Telnet Servers (3) , then pressing OK (4) to enable Telnet Servers.

Picture 13 of CMD commands, Command Prompt commands in Windows 7 and 8

9. Cipher: Permanently deletes data

As we know, the Cipher command is primarily used for encryption management; however, it also allows you to permanently delete files when you need to clean up your hard drive.
For example, if I want to delete the Image folder in drive D, I would do the following:
cipher /w:d:Image taimienphi

Picture 14 of CMD commands, Command Prompt commands in Windows 7 and 8

These are 9 Command Prompt commands introduced by Taimienphi; however, in practice, depending on your purpose, you can use them with other commonly used CMD commands such as manually removing viruses , cleaning up junk files, editing startup files, opening the virtual keyboard, etc.

In addition, you can also try many other commands such as:

CMD-A command

Picture 15 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-B command

Picture 16 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-C command

Picture 17 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-D command

Picture 18 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-E command

Picture 19 of CMD commands, Command Prompt commands in Windows 7 and 8

Command CMD-F

Picture 20 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-GH command

Picture 21 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-IK command

Picture 22 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-L command

Picture 23 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-M command

Picture 24 of CMD commands, Command Prompt commands in Windows 7 and 8

Command CMD-NO

Picture 25 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-PQ command

Picture 26 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-R command

Picture 27 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-S command

Picture 28 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-T command

Picture 29 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-UV command

Picture 30 of CMD commands, Command Prompt commands in Windows 7 and 8

CMD-WX command

Picture 31 of CMD commands, Command Prompt commands in Windows 7 and 8


Some commands in CMD require users to run CMD with administrator privileges on Windows 7, 8, 8.1, and 10 to access them. You can refer to the article on running CMD with administrator privileges that TipsMake has shared for more information.

« PREV POST
READ NEXT »