In this article we will show you some important tips and tricks on working with Command Prompt in Windows 7/Vista/XP that may help you sometimes with flushing DNS, renewing IP, pinging an IP, creating a directory, navigating through directories, show files in a directory, run check disk tool and many others.
To run the Command Prompt with full privileges in Windows 7/Vista, you can simply go to Start Menu - All Programs - Accessories, right click and Run as Administrator.
If you changed your DNS recently to your website or you have problems seeing the proper content on any website you can Flush DNS and Renew your IP. All you need is to open Command Prompt as Administrator and use the command below:
After doing the flush part, you can renew your IP with the command below:
With Command Prompt you can navigate through folders and see what files they contain. You can also create and remove a folder/directory.
Use "dir" to see all files and folders from a directory.
To go inside a folder you can use the "cd dirname" command.
To return back or exit from a folder use "cd..". See the screenshot below:
If you have a lot of text on your console, you can simply clear the screen just by typing "cls".
You can also create and delete folders using commands below:
You can open Windows Apps directly from CMD while you are logged in Windows Interface.
Type "services.msc" to open the Services Window.
Type "msconfig" to open System Configuration Window (Boot Properties, Startup, Services).
Type "calc" to open Windows Calculator.
Below are some great commands that can be used to check your computer details, processes, scan hard drive for bad sectors.
If you think your computer is slow or even hard drive is very slow on reading files, you can check anytime for bad sectors with Check Disk Utility. You may be prompted that the scan will run with the next restart.