Subscribe For Free Updates!

We'll not spam mate! We promise.

Showing posts with label Command Prompt. Show all posts
Showing posts with label Command Prompt. Show all posts

Mar 11, 2013

Copy Text From Command prompt and Paste it in Word


Copy Text From Command prompt and Paste it in Word


 First you need to select the text in command prompt. To select the text
Right click on command prompt and select Mark,then select the desired text,it will highlight the text.
Then press Enter to copy the content.
Then open Notepad or Word ,press ctrl+v to paste the content.

Change Font color in DOS

Change Font color in DOS

  You can make DOS as graphic environment using colors for the text and background in DOS.
  To change the text-color in DOS,You can use the following


  COLOR attr
  attr        Specifies color attribute of console output

Color attributes are specified by TWO hex digits -- the first
corresponds to the background; the second the foreground.  Each digit
can be any of the following values:

    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
Example: COLOR 1C
If no argument is given, this command restores the color to what it was
when CMD.EXE started.  This value either comes from the current console
window, the /T command line switch or from the DefaultColor registry
value.

Remove autorun.inf Using Command Prompt


Remove autorun.inf Using Command Prompt

  Here is a simple way to delete autorun.inf using command prompt using windows. The function attrib is used to check whether autorun.inf is present in the drive.
  Try the following in command prompt.

Open command prompt
Go to the destination drive using cd destination path and press enter
Type the following code
  1. attrib -a -s -h -r autorun.inf
and press enter.
Now delete autorun.inf.
  2.del autorun.inf.

 Now you can see that autorun.inf has been deleted.