How to Add Copy to Clipboard Option to Windows Context Menu



Sometimes you want to copy a file content to the Windows Clipboard, but if you press Ctrl + C keys it will copy the whole file. Adding a 'Copy to Clipboard' option in context menu will instead copy what’s inside that file.

How to Add Copy to Clipboard Option to Windows Context Menu 0cdf699

1. To add a Copy to Clipboard option, navigate to:

Code:

HKEY_CLASSES_ROOT\txtfile\shell


2. Right click the shell key and create new key named "CopyToClip".

3. Double click Default string value and set its value data to  Copy to Clipboard.

How to Add Copy to Clipboard Option to Windows Context Menu Kg5B1KI

4. Right click CopyToClip key, create an additional key called "command" with the following data for its Default string value:

Code:

cmd /c clip < "%1"


How to Add Copy to Clipboard Option to Windows Context Menu 1ZZjQPC



Registry file attached to this tutorial can be use to add "Copy to Clipboard" option to Windows context menu.

1. Click/tap the .

2.  Double click/tap on the downloaded .reg file to merge it with registry.

3. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

4.  You can now delete the downloaded .reg file if you like.