12 Windows Command (CMD) every New User Must Need To Know in 2020

CMD

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 basic Windows CMD Commands. The list includes both internal and external commands applicable to the command promptCommand 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 select Run As an Administrator 

Here are 12 Commands are:


1Assoc
Assoc command in windows

    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


Chkdsk command for windows


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)


3. Ipconfig


ipconfig command

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


Power Configuration command

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



systeminfo command gives maximum details of pc

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


Tasklist command


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


Windows taskill command

Windows taskill command

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

9. Tracert

Tracert command in windows


tracert” in Windows stands for “Trace Route"
The command traces the path that a TCP/IP packet takes towards a destination target and shows some information (if available) of the routing nodes within this path.

Just like the “ping” command, “tracert” sends also ICMP echo packets to the destination with varying Time-to-Live (TTL) values

10. sfc /scannow
sfc /scannow command

The System File Checker or sfc.exe is a utility in Microsoft Windows located in C:\Windows\System32 folder. This utility allows users to scan for and restore corrupt Windows system files.
This command scans and replaces any Microsoft Windows file with the correct version. The sfc command can be great when you are running into an issue that is difficult to troubleshoot.


11. Changing Drives

Changing drive command


Sometimes, you may need to navigate to another drive frequently. Just type the computer drive(c:, d:, l:, g:) in cmd then you will be arriving to required drive. c: drive is default os drive.

12. Launching applications from cmd

Launching applications from cmd command


From the command line, you can also launch any application, .exe or.bat files.


Conclusion  

These were just a few basic commands that should be helpful and practical for all your needs in controlling your system. But there are more commands which can do lots of your work simpler. The CMD in  Microsoft Windows provides access to over 280 commands! We have just showcased the best commands for beginners. There is a vast number of commands designed to handle everything on your Windows system.

We assume that with these commands and the elaborations, we have been able to teach a kind of interest in your mind about Windows Commands you can use with it.

If you have any doubt and problems related to this contact me!

1 Comments