These Command Prompt (Tricks) will Amaze you.
NIKHIL GAUTAM
Posted on August 29, 2022
1.Change the color of the Command Prompt
Before we change the color we must be aware of how many colors are there in Command prompt So first run this command
color help
This will give you the list of available colors.
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
Select any two number followed by color as prefix (number1 number2) number 1 is for background color
number 2 is for text color.
Now if you want to make your color green with black as a background type color 02
or color 0A
Note: - color 07
is the default color of command prompt.
2. Change the Prompt
You can create your own custom prompt
e.g. C:\Users\Downloads to Something like yourname@hacker.
prompt your custom name
e.g.
prompt harry@hacker$G
3. Changing the title of command prompt window
title Enter your own title
e.g. title Hacking the system
& it will change the title of your command prompt.
4. Hide Your Personal Stuff!
To hide Use this command :- Attrib +h +s +r folder name
To Show USe this command :- Attrib -h -s -r folder name
5. Copy Output to Clipboard
| clip
this command will copy the command output to your clip board.
dir | clip
this command will copy the dir's command output to your clip board.
| this is a pipe symbol.
6. View Command History
by Using f7 key from your keyboard you can checkout the command history.
7. Create folders with reserved name
What are name which we cannot use to make a folder.
- con
- aux
These are the by default reserved keyword in windows..
but we can overwrite this by using command
md aux\
- this will generate a aux folder.
md con\
- this will generate a con folder.
8. View All installed Programs in the Command Prompt.
wmic product get name
this command will show you all the programs installed in your machine.
Posted on August 29, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.