Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Top 6 Windows Command Prompt Commands You Must Know

Author: Justin Martin
by Justin Martin
Posted: Nov 29, 2020

The command prompt has been a part of Windows for a very long time, but now, it is gradually disappearing from the Windows interface. Its disappearance will make the system better as it is an obsolete and unnecessary tool that belongs to the era of text-based input. However, there are still a few useful CMD commands and improvements to the system. Here are those few commands you must know about:

Assoc

On Windows, most of the files are associated with a unique program, and everything is assigned in a particular order to open the file by default. But it can be challenging to remember all the associations and work through them at once. This is where the Assoc command comes to the rescue as it will help you remind the associations. Enter the ‘assoc’ command on your display to check the list full of filename extensions and program associations. It will also enable you to use the commands properly. You can also extend the command for tweaking the file associations.

If you are working on Windows 10, then you can access a user-friendly interface and change the file type association in seconds. For this purpose, you have to open the Settings app on your desktop. From there, go to Apps and click on Default Apps. Then, select ‘Choose Default App by File Type.’

File Comparison

The File Comparison command will help you identify the differences in text between two files. If you are a programmer, this command will prove beneficial to help you figure out the minute mistakes or changes you have made in two versions of a file. Even writers, students, etc., can use it for an easy and quick way to check their files. To use this command, you have to type ‘fc’ followed by the directory path and file name of both the files you want to compare. You can also choose to extend the command as per your preferences. If you type ‘/b,’ it will start comparing only binary output, and entering the ‘/c’ command will disregard the case of texts you have chosen to compare.

Ipconfig

The Ipconfig command imparts the IP address your computer is using at the moment. Like every other device, if your PC is connected to a Wi-Fi router, you will receive your router’s local network address. This command is useful due to its extensions. Use the ‘ipconfig /release’ command with ‘ipconfig /renew’ to force your Windows PC into getting a new IP address. You can use this command when your PC claims not to have any new IP address. Using the ‘ipconfig /flushdns’ command, you can refresh your DNS address.

Ping

When you cannot figure out if the packets are reaching a particular networked device or not, use the Ping command on your desktop. You can use this command to send a series of test packets to the specified address by typing ‘ping’ followed by the IP address or web domain. If the command prompts an arrival and return, it indicates that the device can communicate with your PC. In case it fails to do so, know that something is interrupting or blocking communication between your PC and the device. With this, you can determine the root cause of the issue, which could either be network hardware failure or an improper configuration.

Systeminfo

Using the Systeminfo command, you will receive a detailed configuration overview on your desktop screen. You will find a list containing the operating system and hardware details on it. You can check the original Windows installation date, BIOS version, last boot time, network card configurations, installed hotfixes, and more through this list. Type ‘systeminfo /s’ followed by the hostname of your desktop on your local network. You might even have to add additional syntax elements for the domain, user name, and password to the original command. Here is an example of doing that:

systeminfo /s [host_name] /u [domain]\[user_name] /p [user_password]

Tasklist

Using the Tasklist command, you will receive the latest list of all the tasks running on your computer. Sometimes, this command can act a little redundant with the Task manager, yet it can find tasks hidden from your view in a specific utility. You can also add a wide range of modifiers to use it as per your requirements. Use the ‘Tasklist -svc’ command to check the services related to all the tasks. With the ‘tasklist -v’ command, you will receive additional details related to each task. You can use these commands for advanced level troubleshooting.

In similar ways, multiple other commands serve a different purpose and help you have a better and smooth experience using the Windows PC. Some commands are only relevant to Windows 8 and 8.1, but the ones mentioned above can be used on Windows with any version. But these commands will act differently on each Windows version, depending on the update you are currently using.

Secure buyings provides you with the best range of antivirus software so that your device is always protected from online threats. Our sites provide you assured antivirus product like Norton Securityfor the customer fullfil the problem of online threads.

SOURCE – Top 6 Windows Command Prompt Commands You Must Know

About the Author

Hey I am justin martin work in secure buying company past few year...This company believe customer satisfaction is our first priority... WE PROVIDE A BEST SOFTWARE IN USA, UK, CANADA & AUSTRALIA.

Rate this Article
Leave a Comment
Author Thumbnail
I Agree:
Comment 
Pictures
Author: Justin Martin

Justin Martin

Member since: Nov 18, 2020
Published articles: 1

Related Articles