Welcome back to Tech Raptor, and to part 2 of our two part series on useful DOS/CMD commands that everyone should know! Today, we’ll be sharing six more useful commands that can help you with commands for files, a network command, and a few great Windows Utilities and Commands. If you missed part one, you can see it here! Without further ado, Windows DOS Commands Part 2!
Windows Commands and Utilities
Task List - We start part two with a utility that can be a life saver if your computer is infected with a virus that prevents you from opening your task manager. To see a list of what is currently running on your computer, type “tasklist” and hit ENTER to see this:
See a task that you find suspicious or want to stop running? Enter “taskkill” followed by the image name as seen above. This is effective in removing viruses, when you can’t open task manager as instructed in our basic virus deletion process.
SCF Verify - Did you have a recent infection, that you cleaned, but aren’t sure if certain files could be corrupted? Just type “sfc /VERIFYFILE=” and then enter the location of the file you want to check, like so:
Windows will verify that the file is the same as the original, and inform you of the result. Not sure about multiple files? Scan all system files with“sfc /scannow”.
Move - Let’s say that you have a lot of spreadsheets in .XLS files from the year 2007 and you want to archive them into a particular folder in order to be more organized and have them all in one place. Now, normally you would have to hunt down each one and copy and paste it into the new folder. Instead, you can use the DOS move command to speed things up. To use this, simply navigate to the folder that stores your 2007 .XLS files (cd followed by the path to the folder) and enter “move *2007.xls c:\users\testuser\My Documents\2007 XLS Files\” See Below.
AT Command - Say you need to move a ton of files, but can’t do it at that moment because it would interrupt your work or slow down you machine/server. The AT Command allows you to schedule a file transfer (or any other command, such as running a batch file) at the time of your choosing, allowing for you to schedule actions via the command prompt. Just enter “AT” followed by the command you want to run. For a list of commmands, or help, type “at help”.
CHKDSK -Have you been having issues with your hard drive? Getting a lot of errors? You may need to run a CHKDSK to ensure that your computer’s hard drive has no bad sectors or errors on it. To do this, simply open Command Prompt and enter “CHKDSK” to run the scan (will take some time to run).
If your CHKDSK scan does come up with bad sectors, you can easily repair them using command prompt. In Command Prompt, enter “CHKDSK /F” to run another scan and fix the errors (will require a reboot).
NSLOOKUP - Do you need to know the IP of a particular website or address? Use NSLOOKUP to reverse lookup an IP Address or web address by typing “NSLOOKUP” followed by the address or IP. See Below for details
There you have it! Tech Raptor’s 12 most helpful Windows DOS Commands for Command Prompt. We hope that these will be useful to you in the future! Have you already seen these, or are there any we missed? Comment Below!