Freigeben über


(Work) Tool of the day - ‘clip.exe’

Today I was writing a batch file to do make a process semi-automatic. One of the non-automatic stages is copy and pasting some text into a web interface.

“It’d be pretty cool” I thought, “if I could just add a line to my batch file saying ‘place %text% on clipboard’”

Well, it turns out someone else already thought of that!

D:\BVT\2.0.690.0>clip /?

CLIP

Description:
Redirects output of command line tools to the Windows clipboard.
This text output can then be pasted into other programs.

Parameter List:
/? Displays this help message.

Examples:
DIR | CLIP Places a copy of the current directory
listing into the Windows clipboard.

    CLIP < README.TXT Places a copy of the text from readme.txt
on to the Windows clipboard.

 

Cool.
No more mouse highlighting just to copy the current directory name for me!
‘cd | clip’

Comments

  • Anonymous
    February 10, 2013
    Are Clip.exe still work on Windos 8?