15 Useful Command Prompt Commands that you should know
Since the start of the Windows OS, there had been some matters, especially which have stayed on with the more recent versions. The Command Prompt has been around for a long term and could maintain to live the same. Sure, Windows is all approximately the GUI and simplicity of having matters performed through clearly clicking, there are some matters that may be performed through clearly the use of instructions. It enables in lowering time utilization and is straightforward without you having to fear approximately what and in which to move next. Let’s check the 15 great CMD instructions you want to understand.
Accessing the Command Prompt utility is straightforward and notable easy. You can both get entry to it from the Start Menu itself, or you can even run it by the use of the run conversation field through urgent Windows and R keys accompanied by typing in cmd and hitting the input key. May you furthermore understand that you may open the command set off utility inside a folder as well?
You can examine approximately that over here. Yes, you may have used the Command set off perhaps a couple of times to in all likelihood sideload a Microsoft Store app or maybe run adb instructions to your Android device. Here is a listing of the great and beneficial instructions that may be useful for your everyday life.
Best CMD Commands
Encrypting Files and Folders
Want to encrypt a particular folder and all its contents right away without having to perform several steps > ere is a simple way to do it. You can use this command to encrypt your folder and files.
cipher /e (folder path)
You can also decrypt files easily by typing in
cipher /d (folder path)
See system IP Address
This command displays all the addresses. Your IP Address, Physical as well as MAC Addresses. Here is what you need to enter into the Command Prompt.
Fix DNS Issues
Ever had trouble with some websites not opening or loading correctly on a particular network? Here is where being able to flush the DNS comes in handy. The command is simple.
Finding a Website’s IP Address
The next command in the list of best CMD commands is the command to find the website’s IP address. You can use the ping command to see how long a particular website takes to open or respond to your connection. You also get to see the IP Address of the website.
ping (website name)
Check Connection Issues
At times, it could be that a website might be working fine as always but suddenly it just refuses to open up or load. With the Tracert command, you see where the issue lies, Whether it is something to do with your router or the ISP or maybe even the server.
tracert (website name)
Check Core System Files
At times, a few files might have got into some error or could even be damaged. Such issues with core files can sometimes cause your system to not function properly. You can use a command to look for such files and even repair them right away.
Repair Corrupted System Files
This command can be used if the previous sfc command was not able to fix up the corrupted files. However before you run this command, it is best to restart your system and then run the command. Also, you will need to run Command Prompt as an Administrator
DISM /Online /Cleanup-Image .RestoreHealth
See Currently Running Tasks
This command replicates the popular Task Manager window that shows you all the running programs and services on your Windows PC. It is one of the useful and best CMD commands.
Terminate or End running tasks
Sure, the Task Manager lets you end certain tasks or programs that are not behaving or responding correctly. However, at times ending a particular program via the Task Manager simply is not able to end. In this case, using the taskkill command will work the best
taskkill /f /t /pid (program id number)
Check System Power usage and battery health status
It is always good to know what the power output your system and its connected devices are drawing. It shows you how much power is being used and what stays active while the system is put into sleep mode. The Battery status report shows you the battery charge cycle and the battery cycle too. You get to see these results in an HTML file that gets generated for you to see.
powercfg /energy powercfg /batteryreport
Check All Installed Drivers
This does what the title says. It displays all your drivers that have been installed on your Windows PC. You will also be able to see the date and time of the drivers too.
Check System Hardware Specs
This is an alternative to looking out for the system specifications in the Settings app. A command line will simply show you all the details right away.
Clear Command Prompt Screen
Now, you might have tried all of these commands on your system, but the Command Prompt screen might look full with results from various other commands. You can simply clear it up with a single command instead of opening a new Command Prompt window.
Repair Particular Disk Error
And the last in the list of best CMD codes is the repair disk error command. Sometimes, hard drives might have a few errors that might lead to slow loading or even file transfer times. The command used here will look for errors if any and will also try to solve these errors.
chkdsk (drive path)/r
These are some of the important command lines you need to know as these are super helpful to you and can come in super handy. Of course, there are other advanced command lines. However, it is always best to know the simple ones first and what they do.