Command Prompt or CMD is a command-line interpreter in the Windows family of operating systems created by Microsoft Corporation. In this article, I explain 12 Windows Command (CMD) every New User Must Need To Know in 2020. The list includes both internal and external commands applicable to the command prompt. Command Prompt commands let you copy data to a different folder, format an entire disk, back up your files, send messages to other computers, restart your own computer, and much more
All supported versions of Windows (server and client) have a set of Win32 console commands built-in. Windows has two command shells: The Command shell and PowerShell. Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations.
It’s important to know that the commands in Windows XP/7/8/8.1/10/Vista are called CMD commands or Command Prompt commands, and the commands in Windows 98/95 and MS-DOS are called DOS commands. We’ve included some basic CMD and DOS commands in this list
Now we have to learn how to open cmd
Methods for opening command prompt window(Windows Terminal) in pc
- Type cmd in the Start Menu search bar And Then Press Enter.
- Alternatively, you can press WINDOWS+R to open the RUN utility, type cmd, and press Enter.
- For opening Administrative cmd Type cmd in the Start Menu search bar And Then click right-click in mouse, after this choose Run As an Administrator
Here are 12 Commands are:
1. Assoc
Assoc command Displays or modifies file name extension associations.
You can remind yourself by entering the command “assoc” to display a full list of filename extensions and program associations.
2. chkdsk
Short for “check disk” the chkdsk command is a Command Prompt command used to check a specified disk and repair or recover data on the drive if necessary. Chkdsk also marks any damaged or malfunctioning sectors on the hard drive or disk as “bad” and recovers any information still intact.
Chkdsk works in administrative
command prompt(Elevated Mode)
Using this command in the CMD command prompt returns detailed information about your current network adapter connection including:
- Current IP Address
- Subnet Mask
- Default Gateway IP
- Current domain
4. powercfg: Power Configuration
Run the command prompt as an administrator and type powercfg – energy to get a full power efficiency report.
powercfg (executable name powercfg.exe ) is a command-line utility that is used from an elevated Windows Command Prompt to control all configurable power system settings, including hardware-specific configurations that are not configurable through the Control Panel, on a per-user basis.
5. systeminfo: System Information
This Command is one of the best windows commands because it gives maximum details of the entire system. This will display detailed configuration information about a computer and its OS, including operating system configuration, product ID, security information, and hardware properties, such as network card, RAM, virtual memory, disk space including System Boot Time, Bios version, Processor information, Memory details, Page file information, Hotfixes installed, etc.
6. Tasklist
The tasklist command is designed to provide information about the tasks that are running on a Windows system
There’s also a wide range of modifiers. “tasklist -svc” shows services related to each task, use “tasklist -v” to obtain more detail on each task, and “tasklist -m” will locate .dll files associated with active tasks.
Taskkill
The taskkill command in Windows serves for terminating tasks by image name or by process id (PID).
taskkill -pid 3976
taskkill -im iexplore.exe
7.Ping
PING (Packet Internet Groper) is the primary TCP/IP command used to troubleshoot connectivity, reachability, and name resolution, the Ping Command is usually used as a simple way to verify that a computer can communicate over the network with another computer or network device.
8.Pathping
It helps you to find the location of a packet loss in a route between you and a host (server, router, website, etc).
pathping 192.168.1.20
Unknown
May 9, 2020
Understandable..