14 Best Command Prompt Pranks

With an interface as attractive as in Windows 10, it’s easy to forget that the OS comes with a command-line interface. You may have forgotten the command line, but Microsoft may not because it has brought some really useful improvements to the command line with Windows 10.

Although it is not as powerful as its Unix counterpart, many command prompt pranks can make it a very useful tool. Many things that the command line (also known as CMD) can allow you to do are not even available on the Windows GUI, so this is definitely what you should use. In this article, we will share with you 12 command-line tricks you must know.

Best Command Prompt Pranks

1. Encrypt files using the command line

One of the most useful things you can do using the command line is to encrypt your sensitive data. Encryption is a way to prevent others from looking at your data, and it is an important part of ensuring (to some extent, at least) that your files are only yours. With this simple command line trick, you can easily encrypt files on your Windows PC.

Just run the command line and change your working directory to the folder where your files are. This can be done using the “cd” command.

When you’re done, type “Cipher / E and press Enter. This will encrypt all files that were inside the folder.

Note: If you try to open these encrypted files, they will open for you in the usual way, but any other user will not be able to view the files if he does not login using your account. Therefore, make sure you have a password.

2. Change the color of the command window

The command line window may not be interesting with black default background and light gray text. But Windows allows you to change these colors to your preference and make things more intriguing.

Launch CMD as well as Right-click on the title bar

Click on “Properties” and in a separate window that opens, click on “Colors”

Here you can select colors for text on the screen or background, as well as for pop-up text and background, as well as change the transparency of the CMD window

Once you have chosen the most suitable colors for your personality, click OK.

3. Change the prompt text on the command line

When you first open the command line, the default prompt text is very boring. It reflects the current working directory in which the user is located, but he probably can use some settings. If you want the tooltip in your cmd window to say something other than the default, you can use the following trick.

Run the command line and enter “immediate” followed by the text that you want. Do not forget to add “ $ G ”, to make sure that there is always a “>” sign at the end of the invitation, and you know where your team begins.

ALSO READ ABOUT  How To Create Windows 10 Recovery Drive

Press Enter and you will see a prompt in the cmd window for your text.

Note: There are several more options, such as ” $ G “, and you can view the entire list by typing ” help prompt “. Also, you can reset the hint back to its original state by simply typing “hint” and pressing Enter.

4. Change the title bar of the command prompt window

When you run the command line, you should have seen the title bar read “Command line” or, possibly, “Administrator command line” if you run it with administrator privileges. Although this is normal, if you have many cmd windows open, and each of them is working on its task, then this “Command Line” heading will not help. Fortunately, you can change that too.

Open a command prompt and enter “title” followed by the text you want to read in the title bar.

Press Enter and you will see that the title bar of the cmd window changes to the text you entered.

Note: The title will change to “Command Prompt” after you exit cmd and restart it.

5. Watch the ASCII version of Star Wars: A New Hope

This is a very cool trick that can allow you to watch the text version of Star Wars: A New Hope in ASCII format completely inside the command line window. The method is very simple and uses Telnet. Just follow the instructions below to view Star Wars inside the cmd window.

Launch a command prompt and type “telnet towel.blinkenlights.nl” and press Enter.

The movie will start playing immediately.

6. Create a WiFi access point

You can also use the command line to create a Wi-Fi access point on your Windows PC, and share your Internet connection with several devices, all without having to use any third-party applications. To do this, simply follow the instructions below:

Launch the command line and enter “ netsh wlan set hostednetwork mode = enable ssid = key HotspotName = password “. replace «HotspotName» with the name that you want for your WiFi access point, and replace the “Password” with the password you want to set. Press Enter.

Next, enter “Netsh wlan start hostednetwork” and press Enter, and your WiFi point will be broadcast, and other devices will be able to connect to it.

Note : If you want to stop broadcasting your WiFi access point, simply use the “netsh wlan stop hostednetwork” command.

7. Hide folders using the command line

Although there is an easy way to hide folders in Windows using the folder properties panel and checking the “Hidden” box, this method is not very useful, since folders hidden with this method can be easily viewed by changing the viewing settings to “Show hidden files and folders ”, which makes it a pretty useless feature. However, using this cmd trick, you can hide your folders so that they are completely hidden, and Explorer will not be able to display them at all. Just follow the instructions below:

ALSO READ ABOUT  iPhone Passcode Change Prompt - Cause and Solution

Run the command prompt and change to the directory where your target folder is located.

Type ” Attrib + h + s + r folder_name “, Replacing “folder_name” with the name of the folder you want to hide, and press Enter.

Now you can check that the folder is really hidden in Windows Explorer and no one sees it.

To display the folder, you can use the Attribute -h -s -r folder_name command .

Note : Hidden folders can be viewed with the cmd “dir / AH” command.

8. Copy the output of the command to the clipboard.

If you have ever tried to copy data from the command line, you must have realized that it is extremely difficult, not to mention not intuitive. However, with this simple trick, you can copy the output of any command directly to your computer’s clipboard, and then paste it into any text editor.

Run the command line and enter the command for which you want to copy the output, and then “ | clip . ” For example, I use the command “ ipconfig | clip . ” Press Enter and you will see that the cmd window does not display output.

Open a text editor such as Notepad and press Control + V , and you can simply paste the output of the command directly into notepad.

9. List of all installed programs

Another interesting command line trick is listing all the programs installed on your computer. This is especially useful if you need to uninstall a program using the command line. To list all installed programs, simply follow the instructions below:

Run the command prompt and enter ” wmic product get name “.

Press Enter and you will see a list of all the programs installed on your computer.

You can also use wmic to remove programs directly from the cmd window. Just enter “ wmic product, where“ name like ‘% NAMEOFAPP%’ ”causes a delete / no interaction And press Enter. Obviously, replace “NAMEOFAPP” with the name of the application you want to remove from your PC.

10. Open the CMD window inside the directory

Let’s face it, how Windows handles directory changes using the “CD” command is rather strange. Fortunately, there is an easy way to open command prompt windows inside a directory, so you do not need to change directories. This is a very convenient trick, especially if the folders you want to access are located deep inside the file system. To open the cmd window inside the directory, follow these steps:

Open the directory in Windows Explorer. In the address bar, enter “CMD”, and press Enter.

The command window opens in the directory that you opened in Windows Explorer.

11. Create a battery report

Windows 10 allows you to track vital statistics related to battery status while storing battery related data. This includes statistics, such as factory specifications, full battery capacity, and current capacity, which are updated with each session. You can create a report on these statistics using the CMD command, which can be executed as follows:

ALSO READ ABOUT  How To Connect To Cisco Devices

Run the command line as the administrator or change the directory using cd C: Windows System32

Enter the command Powercfg / energy

It will take 60 seconds for the system to analyze and then generate the report as HTML documents.

To access the report, you can find the file saved as C: Windows system32 energy report.html

As you can see in the case of our laptop, the battery capacity dropped to 82% compared to the one that was supplied.

12. Hide sensitive RAR files in images

CMD facilitates a command that allows you to merge or merge two files into one file. Although this command is useful when combining the contents of basic file types, such as TXT or CSV, you can also use the command to hide the RAR, ZIP, or another archived file inside an image or text file. To do this, follow these steps:

Open CMD in a directory that contains both files using the 10th item in this list, or use a CD command to change the directory

Use command copy / b.rar + , ,, In our case, we used copy / b modules.rar + wave.png test2.png

Notes: First, make sure you enter the RAR file, and then another file, otherwise you will not be able to restore the RAR package. This method also works with most common file types, including documents and PDFs, if you add the archive file first.

This will create a result file, which in our case test2.png

This PNG file is displayed as a regular image file, but when you open it using WinRAR or any other extraction tool, it will unpack the RAR file that is buried under the image file. This is a good way to keep your confidential files from nosy friends or colleagues or even prevent their misuse even in the event of data hacking.

13. Autocomplete, command cycle and team history

In addition to the tricks mentioned above, there are a couple that is worth mentioning. When entering a command or a path to a file in the command window, you can press tab to make the autocomplete command line the command you enter, or the path you are trying to get, saving you a lot of time. Pressing the up and down arrow keys can allow you to cycle through the commands you used in the current session, and pressing F7 displays a list of commands that were used in the current cmd session, making it easy to reuse commands.

14 Enhance Windows With These CMD Commands

These 12 command line tricks, while simple and easy to implement, are very useful. Using these tricks will certainly allow you to use Windows much more efficiently and give you access to many powerful features that you otherwise would not have been able to use without installing (even buying) special software.

So, what are your favorite command line tricks you often use and find useful? We would like to know about them. Besides, if you know a trick with CMD that you think deserves to be on this list, let us know in the comments section below.

Leave a Reply

Your email address will not be published.