11 Secret Windows Command Prompt Tips Tricks

CMD (Command Prompt Tips Tricks). If you’re in a current directory and want to open it from Command Prompt, type “start .” (without the quotes) and press ENTER. Typing “start ..” (without the quotes) and pressing ENTER opens a directory one level higher.

To copy a text, highlight some or all of the text and press CTRL+C. You can then paste into any application.

To paste a text from another application, press CTRL+V inside a Command Prompt window. Right-clicking inside Command Prompt also pastes a text from another application.

To see the drive, path, and file location, drag a file or folder from File Explorer to Command Prompt. It will then be shown. For example, “C:\Dinosaur Land\Spring Sounds\Boing.wav”.

You can start programs from Command Prompt. Type the name of an application and press ENTER or type “start

How to use Command Prompt in Windows?

Maybe I don’t need to tell you this. But for the users who don’t know, you can open the command prompt by typing CMD in Windows Search. Right-click on CMD to run it as an administrator. Alternatively, you can also open Run (Windows + R) > type cmd and press enter. Also, whether you’re using Windows 10 or an older version, the method is the same.

List Of Secret Windows Command Prompt Tips Tricks

  1. Command History
  2. Run multiple commands
  3. Use Function keys and become a pro user
  4. See PC driver list
  5. Send output to clipboard
  6. Abort a command
  7. Make your Command Prompt colorful
  8. Create a Wi-Fi hotspot right from the command prompt
  9. Scan system files for problems
  10. Start using batch files
  11. Fix issues with DNS resolver cache
Windows Command Prompt Shortcut List

1. Command History:

Using this command, you can track down your command history. This will turn out to be useful when you are trying to look for some command that you’ve used in the past, but can’t remember.  


2. Run multiple commands:

If you are feeling the need to run two commands one after the other, you can do so easily. Add this to your collection of CMD hacks. You just need to put “&&” between each command and save some time. For example, here’s how to run “IP config” and paint.

ipconfig &; mspaint

3. Use Function keys and become a pro user:

One out of the very useful CMD tricks is to use function keys. There is a lot these keys can do to improve your CMD experience. Here’s the list:

Windows Command Prompt Shortcuts

4. See PC driver list:

Using a simple command, you can see all the drivers installed on your computer. All you need to do is run the “driver-query” command, and you’ll be seeing a list of all the drivers along with their name, type, and other information.


5. Send output to clipboard:

Very often, you might have felt the need to save the output of a command? Usually, people use copy and paste. However, using a simple command, you can send the command’s output to the Windows clipboard. Here’s how to send the IP config information:

ipconfig | clip

6. Abort a command In Windows CMD:

This handy Windows CMD trick comes to rescue when you have pressed the enter key, and you need to stop the command in its tracks? To do it, you need to do a Ctrl+C. However, it isn’t a magic trick that can undo an undoable thing.

7. Make your Command Prompt colorful:

You can change the color of the Windows Command Prompt to make it look colorful. You can perform this easy change by right-clicking in the top corners of the Command Prompt and select Properties. There, find the Colors tab and look for the options to change the background and text color.

8. Create a Wi-Fi hotspot right from the command prompt:

Before opening the Command Prompt to execute the commands needed for this, you need to open Control Panel and find Change adapter settings in the Network and Sharing option. There, click on the connection you are using and click on Properties. Now find the sharing tab and check the option “Allow other network users to connect through this computer’s internet connection.” Now open the Command Prompt with administrative privileges and enter the following command:

netsh wlan set hostednetwork mode=allow ssid=Yourhotspotname key=yourpassword

  After it’s enabled, enter the following command to start the Wi-Fi hotspot

netsh wlan start hostednetwork

  To stop it, simply enter this command:

netsh wlan stop hostednetwork

  If you’re using Windows 10? Windows 10 comes with a built-in tool that lets users create a WiFi hotspot. You can read our detailed post know how to enable mobile hotspot in Windows 10.

9. Scan system files for problems:

The SFC/Scannow command runs a system file checker tool that scans Windows system files and looks for problems. If some files are missing or corrupted, this command fixes them.

sfc /scannow

10. Start using batch files:

You might already know that batch files can make your life a lot easier when you’ve to deal with multiple commands more often. For instance, if you have the habit of using the same CMD commands, you can create a batch file and do away with the task of typing them again and again. All you’ll have to do is run the batch file.

11. Fix issues with DNS resolver cache:

You might be knowing that DNS is an important thing you can’t ignore when connecting to the internet. To access websites faster, your computer usually maintains a local DNS resolver cache. But sometimes, the cache might get corrupt and you may not be able to access your favorite sites. In that case, you can try this Windows command prompt trick to save the day. You can use the Ipconfig utility to remove the DNS cache.


We have already covered many useful Command Prompt tricks and cool hacks in our previous articles. You can read about them and learn how to execute by clicking on the links below:

  1. How To Reset Windows Password With CMD.
  2. Offline Computer Tips Tricks.
  3. 15 Cool Computer Tips Tricks.
  4. Interesting Computer Tips And Tricks 2021.

1 thought on “11 Secret Windows Command Prompt Tips Tricks”

Leave a Comment

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