SysChat

SysChat (http://www.syschat.com/forum.php)
-   Windows 7 (http://www.syschat.com/tips-n-tricks/windows-7/)
-   -   Windows 7: Put Text Files Directly into the Clipboard (http://www.syschat.com/windows-7-put-text-files-directly-6484.html)

dothy1005 12-01-2010 04:55 AM

Windows 7: Put Text Files Directly into the Clipboard
 
We oftentimes use notepad to store short texts, reminders or tasks that we need to do. But there are times when we feel it's an inconvenience whenever we need to open the file, select the text before we copy it to the clipboard. I have created a short guide for you on how you can copy a complete text file in a clipboard by clicking on the right-click context menu.

Open the Run box by hitting Winkey + R.
In the Run box, type Regedit and then press Enter. This will launch the Registry editor.
Navigate to HKEY_CLASSES_ROOT\textfile\shell.
Select the Shell key by right-clicking on it. This will open the right-click menu. Choose New->Key.
Create a name for your new key.
Next, go to the right pane of the window and double click on (Default) string value.
Change the value to "Copy to clipboard" (You will see this text in the context menu) and click on OK to close the box.
Next, go back to the left pane and right click on the key you have created earlier and select New->Key. Create a name for this key. Name it "command".
Then double click on the (Default) string of "command" and change the value to cmd /c clip < “%1″. Press OK to save.
Exit from the Registry editor. It should take effect immediately. If not, you may restart your system and then try again.

Now, you can quickly copy content from the context menu.


All times are GMT -4. The time now is 08:41 AM.


Copyright © 2005-2013 SysChat.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54