 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - Copy Content to Clipboard - Add to Context Menu Copy Content to Clipboard - Add to Context Menu How to Add "Copy Content to Clipboard" to the Context Menu in Windows 7 and Vista
Published by Brink
02-06-2011
| Copy Content to Clipboard - Add to Context Menu How to Add "Copy Content to Clipboard" to the Context Menu in Windows 7 and Vista  Information This will show you how to add or remove Copy to Clipboard from the right click context menu of BAT, CMD, CSS, HTML, JS, LOG (txt), 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 Content to Clipboard" Added or Removed 
OPTION ONE Using a REG File Download NOTE: This option will allow you to automatically add or remove Copy to Clipboard from all of the context menus of the BAT, CMD, CSS, HTML, JS, LOG (txt), REG, RTF, TXT, and VBS files at once. 1. To Add "Copy Content to Clipboard" A) Click on the download button below to download the file below.Add_Copy_Content_to_Clipboard.reg B) Go to step 3. 2. To Remove "Copy Content to Clipboard" A) Click on the download button below to download the file below.Remove_Copy_Content_to_Clipboard.reg
3. Click on Save, and save the .reg file to the Desktop. 4. Right click on the downloaded .reg file and click on Merge. 5. Click on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7), Yes, and then OK when prompted. 6. When done, you can delete the downloaded .reg file if you like.
OPTION TWO Manually in 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, CSS, HTML, JS, LOG (txt), 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 Content to Clipboard" to the Context MenuA) In regedit, navigate to the location below for the file extension that you wish to add Copy Content to Clipboard to.- HKEY_CLASSES_ROOT\batfile\shell
- HKEY_CLASSES_ROOT\cmdfile\shell
- HKEY_CLASSES_ROOT\CSSfile\shell
- HKEY_CLASSES_ROOT\htmlfile\shell
- HKEY_CLASSES_ROOT\JSFile\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 Content to Clipboard, and press Enter. (see screenshot below) C) In the right pane of Copy Content 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 Content 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 Content to Clipboard to it's context menu.
I) When finished, go to step 5. 4. To REMOVE "Copy Content to Clipboard" from the Context Menu
A) In regedit, navigate to the location below for the file extension that you wish to remove Copy Content to Clipboard from.- HKEY_CLASSES_ROOT\batfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\cmdfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\CSSfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\htmlfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\JSFile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\regfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\rtffile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\txtfile\shell\Copy Content to Clipboard
- HKEY_CLASSES_ROOT\VBSFile\shell\Copy Content to Clipboard
B) In the left pane of regedit, right click on Copy Content 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 Content to Clipboard from it's context menu.
E) When finished, continue on to step 5. 5. Close Registry Editor. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,304 | |
 Tutorial Tools | | | | | | | | | |
02-06-2011
|
#1 | | Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS |
It's very useful, thanks Shawn.
It'd be nice if you can add the manual way too..
Shawn, can you explain a thing, just for my knowledge? Code: ;For BAT files
[HKEY_CLASSES_ROOT\batfile\shell\Copy to Clipboard]
"Icon"="DxpTaskSync.dll,-52"
[HKEY_CLASSES_ROOT\batfile\shell\Copy to Clipboard\command]
@="cmd /c clip < \"%1\""
;For CMD files
[HKEY_CLASSES_ROOT\cmdfile\shell\Copy to Clipboard]
"Icon"="DxpTaskSync.dll,-52" Here, the registry entries part are same in all cases, so, how're the diff. extentions get sorted?
I mean do these parts ";For BAT files", ";For CMD files" differentiate b/w them?
Last edited by Brink; 02-06-2011 at 05:32 PM..
Reason: merged
| My System Specs | | System Manufacturer/Model Number HCL OS Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS CPU Core 2 Duo e7400 @ 2.90GHz Motherboard Gigabyte G31M-ES2L Memory 3GB DDR2 Graphics Card Asus Nvidia GTX 560Ti 1GB Sound Card On-board Monitor(s) Displays HCL eZeeBee 18.5" LCD Screen Resolution 1366x768 @ 60Hz Keyboard Stock Mouse Stock PSU Corsair CX500 V2 500W Cooling Stock Hard Drives Western Digital 320GB Internet Speed 15-25kBps D/L | 10kBps U/L | Hey Don't laugh |
02-06-2011
|
#2 | | Windows 7 Ultimate x64 SP1 |
Hello Ezio,
I'm going to work on a manual part late tonight to be added to help better with this though.
The ;text...... parts are just comments to help tell what each section is for, and serve no other purpose. If you look at each [HKEY_CLASSES_ROOT\batfile...... part after that in each section, you will notice that this is where the difference is. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
02-06-2011
|
#3 | | Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS |
Thanks Shawn. It's clear now. | My System Specs | | System Manufacturer/Model Number HCL OS Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS CPU Core 2 Duo e7400 @ 2.90GHz Motherboard Gigabyte G31M-ES2L Memory 3GB DDR2 Graphics Card Asus Nvidia GTX 560Ti 1GB Sound Card On-board Monitor(s) Displays HCL eZeeBee 18.5" LCD Screen Resolution 1366x768 @ 60Hz Keyboard Stock Mouse Stock PSU Corsair CX500 V2 500W Cooling Stock Hard Drives Western Digital 320GB Internet Speed 15-25kBps D/L | 10kBps U/L | Hey Don't laugh |
02-07-2011
|
#4 | | Windows 7 Ultimate x64 SP1 |
You're welcome.
I've added the manual Option Two to the tutorial to help people to easily pick and choose what file extension they would like to have Copy to Clipboard added to or removed from. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
02-07-2011
|
#5 | | Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
Good stuff Shawn. Cant rep you..need to spread the love. | My System Specs | | System Manufacturer/Model Number Too many to describe... OS Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
02-07-2011
|
#6 | | Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS |
Very well, thanks again Shawn. | My System Specs | | System Manufacturer/Model Number HCL OS Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS CPU Core 2 Duo e7400 @ 2.90GHz Motherboard Gigabyte G31M-ES2L Memory 3GB DDR2 Graphics Card Asus Nvidia GTX 560Ti 1GB Sound Card On-board Monitor(s) Displays HCL eZeeBee 18.5" LCD Screen Resolution 1366x768 @ 60Hz Keyboard Stock Mouse Stock PSU Corsair CX500 V2 500W Cooling Stock Hard Drives Western Digital 320GB Internet Speed 15-25kBps D/L | 10kBps U/L | Hey Don't laugh |
02-07-2011
|
#7 | | Windows 7 Ultimate x64 SP1 |
You're most welcome guys. Thank you. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
07-17-2011
|
#9 | | Windows 7 Ultimate x64 SP1 |
Hello l3ny, and welcome to Seven Forums.
Those file extensions have been added to the tutorial. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 Copy Content to Clipboard - Add to Context Menu problems? All times are GMT -5. The time now is 12:33 AM. |  |