December 31, 2009

Command Prompt tips



How to change Command Prompt settings

You can easily change Windows Command Prompt settings, such as: Font, Font Size, Color, background, Buffer Size and …
To change Command Prompt, Right-click the title bar of the command prompt window, and select Properties. Here you can change command prompt settings.

How to copy text from a Command Prompt

1-Right-click the title bar of the command prompt window, click Edit> and select Mark.
2- Now, you can select the text you want to copy, just click and drag the cursor to select the text.
3- Right-click the title bar, click Edit> and select Copy.
4- Paste the text on your editor

How to open command prompt to a directory

You can open a command prompt to a directory that is selected in the Explorer
1- click start > Run > and type “regedit” (without quotes), to run Windows Registry Editor
2- find and go to following “HKEY_CLASSES_ROOT \ Directory \ shell”
3- Create a new key and name “Command”, and give it value of the name you want to appear in the Explorer
4- Under this key create a new key and name “command”, and give it value of cmd.exe /k "cd %L"
5- Now right click on a folder, select Open DOS Box, and a command prompt will open to the selected directory.