Delete temporary files from your drive

Some of the temporary files on your drive can be deleted with the following commands (/q runs the operation without a confirmation prompt, /f ignores the read-only attribute and forces deletion, /s deletes contents from all sub-folders): Delete temporary user files: del /q /f /s %temp%\* Delete temporary system files (requires admin rights): del /s /q C:\Windows\temp\* …Or run them together: del /q ... Read More »

List every device driver on your PC

There are many ways to generate a list of drivers in the Command Prompt, here’s one line that includes additional information such as the status of a device and the folder location/file name of the associated driver: driverquery /FO list /v Read More »

See every process running and connected

Entering tasklist command will list all of the processes running on your machine along with details such as their process identifier and memory usage, while netstat -b will generate a list of all the processes with an established network connection. Read More »

The function keys F1-F9 are also shortcuts

The function (F) keys on the top of your keyboard are also shortcuts that mostly re-enter previous commands without retyping them. F1: Tapping or holding this key will retype the command that you just entered letter by letter. F2: Copies the current command up to a specified character. F3: Completely retypes the previous line that you entered. F4: The reverse of F2 — auto-deletes ... Read More »

Command Prompt keyboard shortcuts

Tapping the up and down arrows on your keyboard will cycle through commands that you’ve previously entered. More shortcuts: Tab: When you’re typing a folder path, tab will auto-complete and cycle through directories Ctrl + M: Enables Mark Mode which lets you move the cursor in all directions with the arrow keys Ctrl + C or V: As of Windows 10, you can ... Read More »

Stop any command mid-operation

Since you might be testing some commands… pressing Ctrl + C will cancel a command that you’ve already entered and allow you to begin typing another one, while typing cls will clear the current window of any commands that you’ve entered. Read More »