HomeTips & Hacks15 Confidential Command Prompt Tricks You Should Know

15 Confidential Command Prompt Tricks You Should Know

If you purchase via links on our reader-supported site, we may receive affiliate commissions.
cyberghost vpn ad

In this post, we will show you some command prompt tricks you didn't know about.

A command prompt is basically a command line interpreter designed to solve basic problems or perform admin functions. It is also known as CMD, or it's filename, CMD.exe and it usually available in most Windows OS.

The command prompt works when you input a command line, it is interpreted and your desired function is done.

Confidential Command Prompt Tricks

Here are some Command Prompt tricks you might have never heard of. Be sure to read and try it out.

  1. Open The Command Prompt From Any Location

You can open the command prompt from any folder location. Press down Shift then right click. Select “Open Command Window Here” from the box that appears and your done.

  1. Run As Administrator

You can right click on the CMD then select run as administrator to open the window as an administrator.

  1. Change CMD Window Font Color

You can do this by typing “color” and typing the code next to it. Type “color z” to get all color codes.

  1. View Your Computer is IP Address

Open Command Prompt and type”ipconfig/all”, your IP address will be returned as well as a host of other network information.

  1. Find A Website's IP address

Find the IP address for any website by entering ping followed by website url. For example “ping www.secureblitz.com”.

  1. Know More About Your Computer

No need for searching on Google, know about your System by typing “systeminfo” in the Command Prompt.

  1. Open Command Prompt From Run

This can be done by typing Windows+R Keys, then typing cmd.

  1. Enable Quick Edit Mode

Quick edit mode is important if you'd want to copy text in the CMD window. Open the CMD settings, select “properties” and check “Quick Edit Mode”.

  1. Paste Text To CMD Window

Right click on the CMD interface and select Paste from the resulting menu.

  1. Create Wi-Fi Hotspot

You can create Wi-Fi connection on your computer if it's supported. You'll need to be logged in as an administrator. Type “NETSH WLAN” without quotes.

  1. Get Help

Type “help” into the Command prompt to get help.

  1. Check Command History

You can check a history of all your previous commands. Press F7 on the Command window to see.

  1. Auto Completion for Commands

Forgot that command? Type the first letter and hit tab button. Several command key suggestions will appear.

  1. Aborting A Command

You can abort a command simply by pressing Ctrl-C.

  1. Exiting the Command Prompt

To leave the CMD window, type exit in the CMD.

Was this helpful?


Fiorella Salazar
Fiorella Salazar
Fiorella Salazar is a cybersecurity expert, digital privacy advocate, and VPN evangelist based in Canada. She holds an M.Sc. in Cybersecurity from a Canadian university. She is an avid researcher and frequent contributor to several cybersecurity journals and magazines. Her mission is to raise awareness about the importance of digital privacy and the benefits of using a VPN. She is the go-to source for reliable, up-to-date information on VPNs and digital privacy.


Delete Me
Incogni Black Friday Ad
Heimdal Security ad

Subscribe to SecureBlitz Newsletter

* indicates required


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.