COMMAND PROMPT TRICKS
Command Prompt:
The command prompt is non-graphical interface that available in most of the windows operating system. The command prompt is is also referred as command interpreter because it interprets commands you enter.
To initiate the command prompt:
- start
- Enter the cmd in the box
cmd open with as a administrator
Useful Windows Command Prompt Tricks:
1. Change the fonts color in Command Prompt:
Normally command prompt have a black color. But it is possible to change the font color of the command prompt.
command used for:
color number/letter
Ex:
color a
In fig. the font color changes.
Type color z to get the list of all the colors and numbers.
above shows the list of colors and numbers.
We can give command like as color 8c
Then in first letter/number in the command is the first color of the background and the second color of the text.
Type color z to get the list of all the colors and numbers.
above shows the list of colors and numbers.
We can give command like as color 8c
Then in first letter/number in the command is the first color of the background and the second color of the text.
2. Help of each command:
To get help, just type "/?" at the end of the command a of which you need information.
Ex:
ping/?
This gives the all information about the that particular command.
3. Hide files and folders using Command Prompt:
We can hide the any file using the command prompt. To do this,type the drive name where the file located and the the command "Attrib +h +s +r" after that enter the file/folder name which you want to hide.
Like this
D:Attrib +h +s +rImages
If you want to see this file then only change the command
Like this
D:Attrib -h -s -rImages
4. View the command history
Using the command we can check the command history.
command:
doskey/history
5. Report of your battery
By using the command Prompt we check the Energy report which shows the charging cycles and performance of your battery over a course of time.
Command for :
powercfg/energy
To access this energy report ,and type Windows+R and type the above location in that.
C:\Users\Administrator\energy-report.html then this html file open with the web browser.
Comments
Post a Comment