Command Prompt Tricks You Should Know

Command Prompt is a very cool interface and has a tones of functionality. If you know how to use it. Today we are going to see some of my favorite Commands which I gone thought in my experience till now. Here I am going to cover at least 5 commands which I learned in my coding experience. and this blog will updated as I learn more and more useful commands, so let's try out some command Prompt Tricks with me.


Command Prompt Tricks


Command Prompt Tricks/Commands

color

I use this command specially when I want to look cool aournd my friends who has less knowledge about command prompt. following command will change your command to green color and it will give you a feel like you are a hacker. 

syntax -> color <color-code>
>> color 02 // output will cahnge terminal font color to green.

prompt

now this is again give you a fell like hacker this command will allow you to change default name.

syntax -> prompt <prompt-name>
>> prompt youAreHacked$g 

clip

Copy output to Clipboard for paste somewhere

syntax -> <any-command> | clip
>> ping google.com | clip

robocopy

This Command will Copy source folder structure to destination folder structure. Note this will not copy any files this command is always used to copy folder structure. 

syntax -> robocopy "source" "destination" /e /xf *
>> robocopy "source" "destination" /e /xf * 

title

this command will allows you to change the title of your command prompt.

syntax -> title <title-description>
>> title jaymin's Laptop

help

using this command you can get the information about any command you want, in case you forgot about some command at that time this help you a lot. 

syntax -> <command-name> /?
>> title /?

these all command I use in my day to day life go and try this commands yourself let me know which is the most useful for you in the comments and also share your favorite commands.

FAQs

Que-1 - How to play games using CMD?

Ans: there are several ways you can create programming using bat files and run.


Comments