How to Use Command Prompt Tricks?

Affiliate disclosure: In full transparency – some of the links on our website are affiliate links, if you use them to make a purchase we will earn a commission at no additional cost for you (none whatsoever!).

So, do you want to brag off your computer skills by showing some cool tricks to your friends? Or do you want to become a power user of the Windows operating system? If yes, then you need to know the command prompt and its commands. So, in this article, we will tell you how to use command prompt tricks? But before that let us first know what a command prompt is?

A command prompt is a command-line interpreter for Windows. It is officially called the “Windows command processor”. It is primarily used to execute commands which can help us automate some tasks, perform some administrative functions and some usual stuff.

So, let’s get started by exploring some of the hidden Windows command prompt tricks.

How to use Command Prompt Tricks?

In this section, we will tell you about some cool tricks and shortcuts which you can perform using a command prompt. Some of them are very basic yet handy commands which can be very helpful if you intend to become a power user of command prompt by knowing some command prompt tricks and hacks.

So, let’s get started with the basic ones:

1: Ctrl + C: Well, yeah this is the shortcut command for the copy. But while using it with command prompt, it is used to abort a command. If ever command is executing like forever and you need to stop that then this command will help you get over that.

command prompt tricks

2: Cls: It might happen that there are lots of data on your command prompt screen and you want to clear that in one go. If yes, then the “CLS” command will help you like anything.

All that you require doing is to type “cls” and hit enter and the screen will be cleared.

command prompt tricks

3: Function keys: Function keys are of some great use and can save you some time while working on with the command prompt. Some of the function key features are in correspondence with the arrow keys which in turn possess some of the similar functions.
Here are some of the uses of function keys:

(i) F1: This function key will paste the last executed command to the command prompt terminal. However, there is one thing to take note that the command will be outputted character by character. So, to get the full command, you will have to press the F1 key as many times as it takes.

(ii) F3: This function key has the same function as the F1, but it enters the full command at one go rather than displaying it character by character.

(iii) F5: It pastes the recently executed commands. Even F8 possesses the same function as F5 though it cycles the previously executed commands.

4: Copying text from the command prompt: Ah, you find it difficult to copy some text from the command prompt terminal to your clipboard. Here we are with the solution for the same.

command prompt tricks

So, all that you require doing is to right-click anywhere on the command prompt screen and then click on the very first option from the menu that follows that is; you have to select the “mark” option.

This will highlight the character at the top left corner of your cmd screen. However, you can place the cursor wherever you want. Now, you can select the text till you want just by dragging your mouse till that point. Once you are done with the same, then you now have to hit enter.

command prompt tricks

Now, copy the text as you usually do. See, how easy was that.

5: Network Information: Want to see all your network information. CMD comes to your service and all that with just a single command. All that you need to enter is this “ipconfig /all” and see the information flowing at your screen.

command prompt tricks

6: Watching Star Wars.

This is by far the most interesting cmd command. Yeah, you can watch Star Wars right at the command prompt terminal. For this, you will have to type the following command “telnet towel.blinkenlights.nl.” Also, make sure that you have your telnet feature enabled on your system and if not then you can easily do that by going to the Windows features through the control panel.

command prompt tricks

7: Creating a hotspot using command prompt.

On a personal level, this is something I found very useful. you need to create a hotspot, you can easily do it via your command prompt. All that you need to do is to follow each step carefully and you will be done.

Step #1: Open the command prompt. Make sure to open it with administrative privileges.

Step #2: Type the following command to see if your system supports a hosted network or not. “netsh wlan show drivers“. If you see a yes next to the “Hosted network supported” section then you can proceed further.

command prompt tricks

Step #3: Now type the following command: “netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password”. Set the Hotspotname and password to whatever you want and then hit enter. After doing that, you will get a confirmation output that the hosted network has been set to allow.

command prompt tricks

Step #4: Now, in this step, all you have to do is to start the hosted network and for that, you have to enter the following command:  netsh wlan start hostednetwork.

command prompt tricks

This will start your hotspot and in case if you want to stop that then type the following:  netsh wlan stop hostednetwork and you are done. 

8: Running multiple commands:

Let us suppose that you want to execute multiple commands in a single go. Yes, it is possible in the command prompt. For this, you only need to place “&&” without quotes between the two commands.
Let’s see an example of this: ipconfig && dir This will execute both the commands simultaneously.

So, this was all about how to use command prompt tricks? We hope that after going through this very article, you must be able to do the desired work.

So, if you liked this article on CMD prompt tricks, then do let us know through the comments section down below. Additionally, do not forget to give us a thumbs up through our Facebook page and share this as much as possible.

Thank you for giving it a wonderful read.

s4tr2

Leave a Comment