Facebook PixelThese Command Prompt Tricks Will Blow Your Mind! | Blog | CodeWithHarry
These Command Prompt Tricks Will Blow Your Mind!

These Command Prompt Tricks Will Blow Your Mind!

"You can change color using the following command in cmd..."

By CodeWithHarry

Updated: 5 April 2025

Change Colors

You can change color using the following command in cmd.

color <color-code>

The following command will give you a list of all the colors you can use in cmd:

help color

The following command will change the color of the terminal:

color 04

This gives you a look and feel of a professional hacker!

CMD Color Change

Change the Prompt in CMD

You can change the prompt text in the cmd using the following command:

prompt harry@hacker$G

Here $G is a special character for the '>' symbol. Use the following command to learn about more special characters you can use with the prompt command:

help prompt

CMD Prompt Change

Change Title in CMD

If you want to change the title in cmd, you can simply use the title command followed by the title. The following title command will change the cmd title to "Hacking in progress...":

title Hacking in progress...

Watch Star Wars Movie in CMD

Do you know that you can watch Star Wars movies in the cmd? If you don't, you need to fire the following command and you should be welcomed with the Star Wars movie:

telnet towel.blinkenlights.nl

Watch Star Wars in CMD

If telnet doesn't work, make sure you turn it on by going into the Windows Features and clicking telnet!

Start > Turn Windows features on and off > Check telnet

Hide a Folder

If you want to hide a folder named "harry" in a directory, you can use the following command:

Attrib +h +s +r harry

Hide Folder in CMD

Once your folder is hidden, you can show it again by firing the following command:

Attrib -h -s -r harry

Show Hidden Folder in CMD

Copy Output to Clipboard

ipconfig | clip

Copy Output to Clipboard

CMD Command History Shortcuts

You can use the F7 key to see your command history in the prompt.

CMD Command History

Create a Folder with Reserved Names (Like aux, con, etc.)

Do you know that you cannot create a folder named aux or con in Windows?

Reserved Names in CMD

These are the reserved names that Windows use for internal purposes. You can still create a folder named con or aux by firing the following command in cmd:

md con\
md aux\

Create Reserved Name Folder

View All the Installed Programs on Your PC

You can view all the installed programs on your PC by firing the following command:

wmic product get name

View Installed Programs

Hope you like this blog. Make sure to try all these tricks on your personal Windows PC. Also, if you know some other trick, feel free to share it. Have fun!

Tags

cmdtricksyoumightnotknow