Is there a way or program to copy content of
.txt file to clipboard without opening it?
Now I have to
open->ctrl+a->ctrl+c->close. A little bit annoying if you do it often.
Is there a possible shortcut for this operation?
There's a clipboard utility in Windows called
In the command prompt, you can copy the contents of a file to your clipboard using
This will be useful if you use the command prompt often. If you don't, you can add it to your context menu. I've just tested this out with instructions from HowToGeek on Windows 7, but I had to make a little tweak before I got it to work.
HowToGeek has also mentioned that
Now whenever you right click on a file, you should see a
For XP I generally us the Send To X powertoy available from Microsoft.
And while I'll probably go with Jin's answer which I also upvoted on Win7. One of the things I love about SendToX is the send to clipboard as name. I have probably averaged 4 uses per day of this since it came out with Win95.
Since you're looking to copy the text, just pipe the contents to the clipboard.