Welcome to YLOAN.COM
yloan.com » Windows » How to Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 or Vista or XP
Games Personal-Tech Data Entry registry cruise torrent mac code virus storage uninstaller systems cisco bugs wireless codes maintenance dell update communication trojan atlanta Data Backup Data Storage Data Protection Data Recovery Anti-Virus Windows Linux Software Hardware Mobil-Computing Certification-Tests Computers & Internet Internet

How to Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 or Vista or XP

How to Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 or Vista or XP


Are a fan of using text-format files to store your information? Have you ever feel annoying and troublesome when you want to copy information to the clipboard? Here we will take a look at how to achieve it by creating a context menu item to copy a text file to the clipboard rather than do some messy steps: open the file in notepad, select all you want, than copy to the clipboard...

Note: This tip is suitable for Windows 7/Vista/Xp users.

Using the Copy to Clipboard Hack


Just hold down the Shift key and right-click on a text file, then you'll see a new item for "Copy to Clipboard":

Now you'll have the information on the clipboard for easy pasting into whatever application you'd like as the screenshot shown below.

Note: If you are just a Windows XP computer user, you can download clip.exe from Microsoft. Just save the file in the Windows directory and the rest of the hack should work for you.

Manual Registry Hack (for .txt files)

Simply open up regedit.exe through the Start Menu search or run box, and then browse down to the following key:

HKEY_CLASSES_ROOTxtfileshell

Under each file type in the registry (for instance txtfile), there is a shell key with a list of actions under it. Here we create a new key called "copytoclip", and then a key under it called "command". Set the default value of "copytoclip" to something useful like "Copy Contents to Clipboard", and then set the default value of "command" to the following:

cmd /c clip < "%1

What we're doing is running a command prompt, and then piping the file into the clip.exe utility. You could do the same thing from the command prompt, or in a script.

Note: Also you can duplicate this same tweak for other file types (like html or code files), by finding their key in the registry and adding the same menu items.

Downloadable Registry Hack

Just download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file.

Just remember to hold down the shift key while right-clicking on a text file.

Welcome to http://www.newton360.com to get more information.

You can visit http://www.newton360.com/Detail/How-to-Create-a-Context-Menu-Item-to-Copy-a-Text-File-To-the-Clipboard-in-Windows-7-or-Vista-or-XP.html to read the original article.

You can get more Windows 7 tips, Windows 7 Wallpapers, Windows 7 Software from http://www.Newton360.com
Recommend Some Anti-Virus Softwares Compatible with Windows 7 You should know the fundaments of Laptop repair Starting A Credit Repair Business &quot;XBOX360 RING OF DEATH-DYI REPAIR-IS IT POSSIBLE?Reviews4Free&quot; Computer Running Slow Windows 7 Solved The Reality Behind Home Repair Grants | Learning Home Repair Grants Who to Approach for Help with Credit Repair What to Avoid in Looking for Credit Repair Clinics Things to Consider in Having Your Bad Credit Repaired Executing a Do It Yourself Credit Repair How to Have Legal Credit Repair Info About Computer Repair Los Angeles Familiarizing Yourself with Legal Credit Repair
print
www.yloan.com guest:  register | login | search IP(3.148.240.165) / Processed in 0.009028 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 38 , 2692, 13,
How to Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 or Vista or XP