Skip to main content

Command Prompt Tricks

                            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:
  1. start
  2. 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.

         
                                                                             

     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.
     




          This tested only windows 8,8.1 and 10.
                     
                 This command tricks will definitely help you understand Command Prompt in a better way.


Comments

Popular posts from this blog

Piconet and Scatternet

                                 Piconet and Scatternet         Transfer a data to various people  its become most important now a days. There are a lots of methods are available to  share to data or transfer to data.But I explain here about the Bluetooth  Piconet and Scatternet. Piconet:           Piconet gets its name fro the world "pico". Pico means a very small.         A piconet is nothing but small network. Using this network we can share the data or transfer the data .Its one ad-hoc network.Which links a wireless user group of devices,using Bluetooth  technology.         Piconet is formed at least two devices such as portable PC and a cellular phone to connect. Ad maximum 8 to need to make this network.When network is established, one device act as master and other as sa...

Basic Network Concepts

                           Basic Network Concept (Part 1) What is Network?  Network is two or more peoples or systems want to communicate with each other. Another  way  we can say, network is any interconnection of two or more stations that wish to communicate with each other.    2. Computer Network Computer network is connection of computers the are interconnected with each other using a single technology. In computer network not only computers are connected with each other . The resources like a printer,scanner etc.and connecting device like hub, switch also connected with each other. These interconnected device are able to the communicate with each other means share a files,folders or exchange the information.   3. Components required for Networking: For networking two types of component are required:              ...

Dumpster Diving

                                     Dumpster Diving        Attacker does not launch their attack without any information. This information gets from targets trash.        If attacker gets the information from the targets trash is called Dumpster Diving.Its belongs to the Social Engineering.      In the dumpster diving the attacker search the small data in trash and it get very sticky information like a pin number,username,password etc,.       In computer security dumpster diving is like a dumping. That means the rubbish unwanted waste,unwanted materials etc,.           How to avoid Dumpster Diving? Avoid throwing sensitive information in the trash. Company should have some polices about to destroy trash. Company should contain trash container.