Nimble Coder

Adventures in Nimble Coding
posts - 77, comments - 56, trackbacks - 1

Command Line Clipboard

I just needed to copy the output of the DOS command dir to another file. The usual mechanism is to send the output to a file, open the file, then copy the contents to the actual destination file. I was sure there must be an utility that would copy output in the command line to the clipboard and indeed I found such an utility. Kudos to Steve Kemp and his clipboard utility. I was able to do what I needed very easily:

C:\>dir /s /b *.txt | clipboard -

Then just paste into Notepad++ or other application!

Print | posted on Wednesday, April 04, 2007 4:41 PM | Filed Under [ Tools ]

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 4 and 3 and type the answer here:

Powered by: