Windows command prompt is a command line interpreter often found in Windows NT systems. It’s very useful in a sense that it’s used to automate task through batch files and scripts.
We are living in a dispensation where users are in love with Graphical User Interface ( an interacting aspect of an application), so we now see the command prompt as a native interface but it’s a powerful tool that can easily most issues we encounter with our operating system.
How To Access Command Prompt
Command prompt can be accessed but using the Cortana search and entering the keyword CMD or command prompt.
Today I a going to share with you some useful command prompt tricks to save you some time and clicks.
- Check Disk Utility
This utility is used to diagnose a Hard disk drive (HDD) or USB flash drives’ integrity. It can also repair major issues such as directory errors, or bad sectors. The tool can be accessed in the command prompt panel using CHKDSK command. But there are other parameters you can use to achieve an expected result depending on the issue you face. For instance, you can use chkdsk D: /f to fix your drive errors.
- Show Hidden Files on Storage Device
Have you ever faced an issue whereby you copy a file from a friends computer with a disk drive, insert it into yours and you find out all your files are hidden? Attrib command is the best tool to rectify such issue. It is mostly used to show hidden files on a storage device or to reveals our actual files hidden by a shortcut malware. Let us assume the malware infected Pendrive is the letter ( f: ). You can enter this at the command prompt interface or copy and paste it without the quotes; “Attrib -h -r -s /s /d F:*.*“.
- Repair Master Boot Records
This command is basically used to solve corrupted boot sectors just in case startup repair option doesn’t work in the System Recovery Options. The command used is bootrec /RebuildBcd.
- Flush DNS
Anytime you connect to the internet, your DNS cache stores the IP address of web servers containing web pages visited. At times, when the web server changes you will need to clear the DNS cache to have an accurate view of the web page. You can easily use this command to clear DNS “ipconfig /flushdns“. After executing the command, the system returns with the message. “Windows IP configuration successfully flushed the DNS Resolver Cache. ”
- Repair Windows Files
The command sfc /scannow is used to solve corrupted windows files and it takes between 8 to 15 minutes for the repair processes to be completed.
- Restore Default Power Plans on Windows
This can be handy if you have a missing default power plan and you would like to restore it or would like to reset all default power plans back to their default settings; powercfg -restoredefaultschemes.
Hope these commands are helpful. let us know what you think but commenting below and if you have any other important commands for Windows, let us know by commenting below.
Subscribe to our mailing list and get tech updates to your email inbox.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.