Command Prompt Tips, Tricks and Other Stuffs You Should Be Familiar With

Although Windows is a graphical user interface which provides easy configuration to all, the command prompt, on the other hand, is a character user interface used by people who know their way around it to perform setting tasks.

Settings can be applied by typing a few characters instead of clicking through a lot of menus, and sometimes too there isn’t any other way than typing only characters to perform a task using the command prompt.


In this articles, I’ve compiled a list of commands you can use to perform setting functions in the command prompt, including some commands everyone should know in general, and more advanced ones for tweaking and or troubleshooting your PC. The post has been simplified for easy understanding for everyone.

Stop Any Command In Middle Of Operation

When using or practising some commands, pressing Ctrl + C will cancel a command that has already been entered and you can type a new one to begin a new operation, also pressing C/S will allow you to clear the current window of all commands that you have entered.

The Command Prompt Settings Menu

Did you know there is a settings menu? Right-click the title bar and select the Properties to enter the settings that include the ability for you to change Command Prompt’s font, colours and layout, and also quick edit mode which will allow you to paste text from your clipboard when you right-click in the window.


Command Prompt Keyboard Shortcuts

Tapping through the Up and Down arrow from the navigation keys on your keyboard will allow you to cycle through texts that you’ve previously entered in Command Prompt.

Also on   Liberalize mobile phone usage in Ghana’s secondary schools to accelerate Ghana’s digitization drive
  • Tab – When typing folder paths, Tab will auto-complete and cycle through directories.
  • Ctrl + M – This shortcut enables Mark mode which allows you to move the cursor in all directions with the arrow keys.
  • Ctrl + C or V – With Windows 10, you can copy and paste with control C and V like everywhere.
  • Ctrl + F – This allows you to search for text in the command prompt.
  • Ctrl + Shift + Scroll on your Mouse – This allows you to increase or decrease the window transparency. In the same way ( + and – ) keys work in the same way.
  • Alt + Enter – This enables full-screen mode with no title bar displayed on top. The same way, F11 also performs the same function.

Drag And Drop Folders To Insert Directory Path Using The Command Prompt

Directory paths optionally don’t have to be typed in the first place. Aside from being able to copy/paste text and tab through directories, you can drag and drop folders to the command prompt window to automatically insert the location.

The Function Keys F1- F11

The function keys F1 – F11 are shortcuts for the Command Prompt that mostly re-enters previous commands without retyping them.

  • F1 – Tapping this key will retype the command that you previously entered key by key.
  • F2 – This copies the current command up to a specified character.
  • F3 – Completely retypes the previous line you just entered.
  • F4 – Auto-deletes up to a specified character. (Your cursor should be in front of the text)
  • F5 – Retypes previous command and also lets you cycle through many lines in your command history.
  • F6 – Inserts Ctrl + Z in the Command Prompt, which is an end-of-file indication. Texts after this are ignored.
  • F7 – Opens a list of commands that has previously been entered that you can select from.
  • F8 – Cycles back to the start of commands entered.
  • F9 – Lets you retype a previous command by entering a number associated with the line.
Also on   AFRIWAVE partners with Smart Africa to drive digital transformation

Adding && between commands will help you enter multiple commands at once to be executed. For example, tasklist && netsat -b .

See Every Process Running And Connected Using The Command Prompt

Entering tasklist command will list all of the processes running on your computer together with details such as their process identifier and memory usage, whiles entering netstat b will generate a list of all the processes with an established network.

List All Device Drivers On Your Pc Using The Command Prompt

There are numerous ways to generate a list of all drivers in the Command Prompt. This particular command includes additional information such as the status of a device and the folder/file name of the sub driver. driverquery /FO list/v

The outputs of commands can be saved as a text file or in a clipboard by adding along with a directory and a file name. For example, driverquery > C:\Users\Hades\Desktop\output.txt

Delete Temp Files From Your Computer Using The Command Prompt

Temp files sometimes take up much space from the hard drive than you can imagine. With the following commands, some of the temp files can be deleted from your drive.

  • del /q /f /s %temp%\* – This deletes temporary user files.
  • del /s /q C:\Windows\temp\* – This deletes temporary system files. Yhis command requires admin rights.
  • del /q /f /s %temp%\* && del /s /q C:\Windows\temp\* – This command performs both functions together.
Also on   Plan International Ghana launches new project for digital and vocational skills in Koforidua

Entering osk in the command prompt opens Windows’ on-screen.

There are a lot of commands but these are few of the important ones you should be familiar with. This post will be updated in future to add more commands.


The command prompt is a character user interface that has powerful commands to perform a difficult and simple task in Windows. There are tasks Windows cannot perform but command prompt does.

Being familiar with the command prompt will help you when you get stacked on windows failure. In this article, we looked at the command prompt tips, tricks and other stuff you should be familiar with.

Thank you for making Ghana's Biggest Tech Blog.
You are the reason we produce quality digital content. Scroll down to read more on
Follow us on TwitterFB, IG, Telegram & YouTube
We accept Guest Posts. If you’d like to write for us, contact us for PR or to submit an article click here.

Leave a comment