Are you familiar with basic CMD Commands? NO? Here we will explore some basic CMD Commands that we think being a windows user you should know.

Windows has some features and functionalities that can be accessed via cmd commands only. So, if you're not familiar with those basic commands then probably you will never be able to access those features and functionalities.

Well, there is nothing to worry about, we are here to introduce all the basic commands to you. Also, i'm sure by the end of this post you will get enough exposure of basic CMD Commands that a  windows user must know

Enough jargons let's now proceed to the primary objective of this post.

Common CMD Commands

1. CD comamnd

Use "cd" command to change directory or navigate to directory inside directory.


Use "cd.." to go to parent directory of current directory.

Use "E:" to change drive name.

2. Delete Directory(folder) using CMD

To Delete directory using cmd, navigate to the folder where directory(folder) to be deleted is located, using "cd" command and then to delete a folder use the "Rmdir" command, which stands for "Remove Directory"

Rmdir Your_Folder_To_delete

Now, one of the important point here is, Rmdir will only delete empty folder using above command, to delete all files inside the folder and folder, we need to use "/S" before folder name

So basically command will be like

Rmdir /S Your_Folder_to_delete

After entering above line, Cmd will ask you for confirmation to delete the folder, you need to type "y" to delete it.

If you want to skip Confirmation, you can add "/q" after "/s"

rmdir /S /Q Your_Folder_to_delete


3. Delete files using CMD

To delete file using CMD, command is simply "del filename.txt"

Del filename.txt

Once you run above command, your file will be deleted immediately.

To delete multiple files at once, you can simply add multiple file names

Del File1.txt File2.txt File3.txt

Most Useful CMD Commands For Windows

1. ipconfig /flushdns: It Will Clear DNS Resolver Cache

Basic CMD Commands For Windows

The effect of this basic CMD Commands will not be immediate, especially if you change the DNS server. Actually windows utilize cache to keep records of response received from any DNS server. It helps a user to access the same address instantly in future. You can also run this command to ensure that your system is receiving addresses from new DNS server. Overall, its the first basic CMD Commands in this list that we think being a windows user you should know.

2. sfc/scannow: It Will Scan Your Files And Detect Issues

Windows comes with an inbuilt default file scanning tool. It works to scan all the files available on your system and then detect the issues. Once it finds an issue, it automatically repairs the file. It's an effective way to fix most of the issues that usually a windows user face with their files on their system. So, the basic CMD Commands actually runs that file checker/scanner programme. You can proceed by just getting into the cmd window and pasting sfc/scannow on the available screen.

3.  ipconfig: It Will Help You Get IP Details Of Your System

cmd commands windows 7

It's really challenging for many soft skilled peoples to find the IP address of their windows system. However, it's not that tricky as well, mainly when accessed with basic CMD Commands. This is the fastest way known to find the IP address of any windows system. Also, it will help you get other details as well like default gateway address, etc.

So, to use this command all you need to do is get into the command window and paste or type ipconfig in the available screen. Next, you will see the list of all network connection that your pc use. If you need more details, you can use ipconfig/all command.

4.  netstat -an: It Will Help You To Get The Details Of Internet Connectivity And Ports

cmd network commands

It's another CMD Commands that's very useful. It works to display network stats and many other advance details. The best part is, it can help you to explore all the details of the open network on your pc. Overall, it's another basic CMD Commands for windows 10 that can help you to access most of the details.

5.  ping And tracert: Works To Fix Almost Every Internet Connectivity Issues

cmd commands windows 8

windows 10 command prompt commands list

Internet connection issues are something that most of us encounter. So, to fix almost 99% of those issues ping And tracert works very efficiently. If you're encountering such issues, I would recommend you to use it know and see the effect.

6.  telnet: Helps User To Connect With Telnet Servers

Want to access telnet servers, this basic CMD Commands is made especially for users like you. Well, it is not a default program of windows, it's an optional feature that you can download from the control panel of your system. Once you install it, you would be able to establish connections with telnet servers effortlessly.

7. cipher: You Can Permanently Overwrite Or Delete Any Directory

cmd commands windows 10

cipher works exceptionally well to manage the encryptions. However, it has default features that can write unwanted data to your drives and thus clear free space and ensures that none of the deleted data gets recovered. cipher  can help you to wipe any drive that you want effortlessly and with ease.

8.  nslookup: Get IP Addresses Associated With Any Domain

cmd commands tricks

Whenever you access any website and enter the domain in the tab, your windows finds the IP address of that particular domain. However, you can do this on your own using nslookup CMD Commands. Moreover, you can also do a reverse lookup by merely typing any ip address to find the domain name thats owns the particular IP. Overall, it's another useful CMD Commands that we think you should know.

Pro Tips:

  • Use all these basic CMD Commands wisely. Read everything about them here before you proceed to use those commands.
  • Some commands can wipe or overwrite your computer drives unintentionally if not used correctly. So, make sure you really want to perform any particular actions using basic CMD Commands before you actually proceed.
  • This is not all in one list of basic CMD Commands that you should know. There are many more. So, we will come with another set of basic CMD Commands for you soon.
  • Don't forget to read our previous posts "How To Monitor CPU Temperature In Windows 10?" and "How To Find IP Address Of A Router?". I'm sure those posts will help you a lot.


So that all about basic CMD Commands that we think being a windows user you must know. We this post has delivered some valuable set of information to you. We will keep posting more such techy and exciting posts. So, keep following us to stay updated and share these posts with your friends and family to help them.