Cool Command Prompt Tricks

Hi Guys…!!!… Welcome to another blog. Today we will discuss about Cool Command Prompt Tricks. So, let’s get started…
In this blog we are going to discuss about With an interface as attractive as windows tenses it’s easy to forget that the OS comes with the command-line as well, while the command prompt on Windows is not as powerful as the UNIX terminal it does come with a set of very handy tricks, for instance, you can even create a Wi-Fi hotspot using the command prompt.

Cool Command Prompt Tricks

#1 C:\Encryption

First off let’s talk about privacy encryption is one of the most common ways to ensure that no one other than you can take a peek at your data.
And the command prompt on windows gives uses an easy way to encrypt their files.
While I can’t comment on the quality of encryption that windows support there is no doubt that any level of encryption is better than no level of encryption.
So get ready to encrypt your sensitive data and keep it away from praying eyes.
This is a simple command that can allow you to encrypt your files on windows.
Simply launch the command prompt and change your working directory to the folder where your files are.
Once you’ve done that type cipher /e and hit enter.
The command prompt will encrypt the files inside that folder.
No one from another account will be able to access your encrypted files without decrypting them with your password first.
Now you can rest easy knowing that your files are safe. And also get ready for the next trick.

#2 C:\CHANGE CMD Color

Let’s just admit it the default colors on the command prompt is kind of boring and don’t inspire a lot of interest in the program.
So on number two we will talk about changing the colors on your command.
Prompt window will let you customize the command prompt to your liking and make it look better than.
The default black and white look that it comes with let’s type help color in the command prompt.
This will give us a list of numbers and alphabets that we can use to change the colors used in the CMD window.
Once you have decided on the colors you want to use I am going with green on a black background.
Simply type color followed by the codes that correspond to the colors of your choice.
So the command for me will become color 02 hit enter and see the colors on your command prompt window change.

#3 Change Prompt Text

Carrying on with customizing the CMD window I would like it if the prompt read something different from default text.
So let’s see how we can do that shall we?
Simply type prompt followed by the text that you want the prompt to read.
I’ll be typing [email protected]$G hit enter and there you go the prompt has changed.
If you wondering what the dollar g was about simply type help prompt to see a list of special characters.
That you can include in the prompt dollar G stands for the greater than sign as.

#4 C:\Change Window Title

You can see on number 4 we have another customization trick.
Yeah we’re not done with those yet by default the title of the command prompt window.
Reads just that command prompt that’s boring.
Let’s change it to something cool on the command prompt window type in a title followed by the text you want to display on the title bar.
I’m going to make mine say Death Star console.
Just because I can hit enter and see how the title changes on the CMD window.
That title makes me feel better about working on this.

#5 Watch STAR WARS in ASCII Test

Speaking of Star Wars did you know that you can watch Star Wars?
A new home on command prompt in the form of ASCII text.
It’s pretty exciting if you ask a fanboy like me.
Go to the command prompt window.
And type the following text and hit enter.
The ASCII text version of the star wall.
It starts playing immediately it’s fun to watch especially if you’re a big Star Wars fan like I am.

#6 C:\Wifi Hotspot

Coming on to the next trick Wi-Fi hotspot which will let you create a Wi-Fi hotspot on your Windows PC.
So you can share your internet with other devices.
In the command prompt type the following text and hit enter.
netsh wlan set hostednetwork mode=allow ssid-HostpotName key=Password
This will set up a Wi-Fi hotspot on your computer to turn it on simply type netsh WLAN start hostednetwork.
And to turn it off simply type netsh wlan stop hostednetwork.

#7 C:\Hide Folders

Moving on let’s talk about some of those folders that you probably want to keep hidden. Now you can hide them by checking the hidden property of the folder.
But that will show up if someone changes your view options to show hidden files and folders making it uses to hide them.
Fortunately this next trick will show you how you can hide folders in such a way that they are completely hidden.
In command prompt navigate to the directory that contains the folder to be hidden.
Desktop in my case type the following command Attrib +H +S +R followed by the folder name and hit enter.
Your folder will now be completely hidden.
Don’t worry though it’s still there you can use the following command Attrib -h -s -r followed by the folder name to unhide it again.

#8 C:\Copy CMD Output to clipboard

It has never been easy to copy text on the command prompt and if you need to copy the output of a command that returns quite a lot of data such as a three command selecting it with the mouse’s will.
Fortunately there is a command that can copy the output of any command directly to the clipboard.
So you can paste it anywhere you want in the command prompt enter the command you want to copy the output for. I’m using the IP config command followed by the text on your screen.
Hit enter and you will see that the command gets executed but there is no output.
That’s because the output has been 5 – the clip command which copied it to your clipboard.
Open a text editor like notepad and you can paste the output there.
The command prompt lets you do everything that you can do on your PC by typing commands.

#9 C:\List Installed Programs on PC

One of the things that you can do on the command prompt is to list out all of the installed programs.
Simply type the following text in the command prompt and hit enter.
wmic product get name 
After a little while, you will see a list of programs that are installed on your PC.
This can come in handy if you want to uninstall programs using the command line which you can do by using the following command.
wmic product name where “name like ‘%NAMEOFAPP%'” call uninstall/nointeractive

#10 C:\Open CMD Window in Directory

Honestly I’m more of a UNIX guy and the process of changing directories in Windows just seems alien to me.
Which is why this script comes in especially handy.
If you don’t want to open a command from the window and then type in a CD command to change into another possibly very weirdly named directory this trick will prove useful for you too.
Simply navigate to the directory in windows explorer in the address bar type CMD and hit enter.
This will open up a command window inside that directory and you can get started with working on it.
There are a couple of other neat tricks that are hidden inside the command prompt on windows.
Things like pressing tab for auto computing commands using the arrow keys to cycle through previous commands.
And pressing f7 to open a list of commands that you have used in that session all of which can come in handy in certain situations.
So, these were Cool Command Prompt Tricks.
Hope you like it. If you have any query related to Cool Command Prompt Tricks, then comment below or contact us.

2 thoughts on “Cool Command Prompt Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: