About clip.exe

Since at least Windows 7, Windows comes with a commandline tool called clip.exe.

It puts a file or a line into the clipboard.

I use it to write very simple code generators; for instance you can call it from a .BAT file to fill the clipboard; so all you have to do after that is press ctrl v or shift insert in your editor and there’s your generated code snippet.

So why not use MSVC’s macro facility or Eclipse’s XTEXT? Well they’re sure nice tools but I have to switch dev environs so often I need something even simpler and IDE-independent so that’s why.

Advertisements

4 thoughts on “About clip.exe”

    1. Well Microsoft chose the name. We will shortly put CLIP.EXE to good use, using a few other technologies I have now blogged about.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s