Search This Blog

Thursday, September 10, 2015

Command prompt uses and helpful commands

Remember the weird black box on your computer called command prompt, did you know you can use it to repair your computer operating system files also solve many other computer problems. Here are ten useful Command Prompt instructions:

First, how to open command prompt? 


1. Click "Start" and type "cmd" now
2. Right click on cmd and select "Run as administrator"
3. Click Yes if asked. (You should see command prompt windows)


Note that many of these commands require opening the Command Prompt as an administrator, therefore you must be logged in as an admin or know the password.


             Here’s what command prompt looks like with admin access.


Once you have the Command Prompt open, check out these commands:


sfc /scannow


This command serves the function of scanning, repairing, replacing and restoring any damaged, missing or altered operating system files. Using this command can assist in recovery from a virus or something else that may be causing you performance issues.

ipconfig

This command will allow you to check your connections. Relatively straightforward — do it if you think there’s any problems with any of your connections.
ping

Pinging is an easy way to check whether or not you’re connected to the internet, and also a great way to see the quality of your connection to a particular website or server. Type in “ping www.google.com” and see what results you get!

msconfig

This opens up a menu of boot options — including what services start when you turn on your computer — which can be extremely useful if you’re plagued with slow startup times or general lag while using your computer.

cleanmgr.exe


This will run a Disk Cleanup program on your computer, which will free up space in your hard drive and may also boost performance.

chkdsk

This will run a Disk Check, which will fix any problems you may be having with your hard drive. Warning: this takes a really, really long time and it will lag your computer. It’s a good thing to do now and again, though.
desk.cpl

This will open a screen that lets you change your display, display orientation, and display resolution.

start


Know the name of a program file but don’t feel like searching for it? Just type in the name of the proper executable after start, and you’ll be good to go. If you use Google Chrome, a good example would be:
start chrome.exe

perfmon /res


This will open up your Resource Monitor and view your current system performance. While similar to the Task Manager, the Resource Monitor is very specific about what the active processes and services are doing and what effect they’re having on your performance — find what’s been slowing you down by using this.

dxdiag


Last but not least, what if you’re having graphics issues while watching a movie or playing a game? DirectX is the software that deals with how your video card displays what’s on your monitor, and typing in dxdiag opens up some helpful diagnostics that can help you get your problem fixed.

No comments: