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.

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.

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

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.

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

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

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 .

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.

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 ".

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.

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.

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.

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.

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

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

CMD-B command

CMD-C command

CMD-D command

CMD-E command

Command CMD-F

CMD-GH command

CMD-IK command

CMD-L command

CMD-M command

Command CMD-NO

CMD-PQ command

CMD-R command

CMD-S command

CMD-T command

CMD-UV command

CMD-WX command


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.

Other System articles
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup