Get Updates Directly In Your Inbox

Tuesday, February 8, 2011

Add "Copy to Clipboard" to Context Menu




How to Add "Copy to Clipboard" to the Context Menu in Windows 7

Information
This will show you how to add or remove Copy to Clipboard from the right click context menu of BAT, CMD, LOG, REG, RTF, TXT, and VBS files.

If added, this makes it a lot easier to copy the entire contents of a file with one of these file extensions to the clipboard, then paste the contents where you like.



Note
This will not work for the RTF (WordPad) file extension context menus if you have Microsoft Office Word installed and set as the default program to open RTF files instead of WordPad.

EXAMPLE:
Context Menu with "Copy to Clipboard" Added or Removed




HERE’S HOW

Through Registry Edititor

NOTE: 
This option will allow you to manually pick and choose to add or remove Copy to Clipboard from either one, more, or all of the context menus of the BAT, CMD, LOG, REG, RTF, TXT, and VBS files.

1. Open the Start Menu, then type regedit in the search box and press Enter.

2. If prompted by UAC, then click on Continue (Vista) or Yes (Windows 7).

3. To Add "Copy to Clipboard" to the Context Menu

A) In regedit, navigate to the location below for the file extension that you wish to add Copy to Clipboard to.
HKEY_CLASSES_ROOT\batfile\shell
HKEY_CLASSES_ROOT\cmdfile\shell
HKEY_CLASSES_ROOT\regfile\shell
HKEY_CLASSES_ROOT\rtffile\shell
HKEY_CLASSES_ROOT\txtfile\shell
HKEY_CLASSES_ROOT\VBSFile\shell

B) In the left pane of regedit, right click on shell, click on New and Key, type Copy to Clipboard, and press Enter. (see screenshot below)



C) In the right pane of Copy to Clipboard, right click on a empty space, click on New and String Value, type Icon and press Enter, right click on Icon, and click on Modify. (see screenshot above)

D) In the Edit String box, copy and paste the commmand below and click on OK.
DxpTaskSync.dll,-52

E) In the left pane of regedit, right click on Copy to Clipboard and click on New and Key. Type command, and press Enter. (see screenshot below)



F) In the right pane of command, right click on (Default) and click on Modify. (see screenshot above)

G) In the Edit String box, copy and paste the commmand below and click on OK.
cmd /c clip < "%1"

H) Repeat step 3 above for any other file extenstion that you wish to add Copy to Clipboard to it's context menu.

I) When finished, go to step 5.
4. To REMOVE "Copy to Clipboard" from the Context Menu

A) In regedit, navigate to the location below for the file extension that you wish to remove Copy to Clipboard from.

HKEY_CLASSES_ROOT\batfile\shell\Copy to Clipboard
HKEY_CLASSES_ROOT\cmdfile\shell\Copy to Clipboard
HKEY_CLASSES_ROOT\regfile\shell\Copy to Clipboard
HKEY_CLASSES_ROOT\rtffile\shell\Copy to Clipboard
HKEY_CLASSES_ROOT\txtfile\shell\Copy to Clipboard
HKEY_CLASSES_ROOT\VBSFile\shell\Copy to Clipboard

B) In the left pane of regedit, right click on Copy to Clipboard, and click on Delete. (see screenshot below)



C) Click on Yes to approve deleting the key. (see screenshot below)

D) Repeat step 4 above for any other file extenstion that you wish to remove Copy to Clipboard from it's context menu.

E) When finished, continue on to step 5.

5. Close Registry Editor.


Related Posts Plugin for WordPress, Blogger...

Search This Blog

Followers

Twitter Delicious Facebook Digg Stumbleupon Favorites More