Windows Built-in Clipboard Utility

Posted on December 7, 2008 10:52 PM

There is a small, simple utility called clip, which takes whatever is given on it’s input stream and places it on the Windows clipboard.  There are many useful things this can be used for.  Here are a couple of things that save a lot of time and work for me.

1)  Add the clipboard to your Sendto menu.  Make a command file, like clipboard.cmd, that has this command in it.

clip < %1

Then create a shortcut to this command file in %userprofile%\sendto.  Then you can right click on a file and send it to your clipboard.

2)  Generate passwords to your clipboard.  I use wapg by Adel I. Mirzazhanov ( by running a command file like this:

@echo off
set /p PWSIZE="Enter size of password to generate: "
wapg -M SCNL -E"?!|" -n1 -a1 -m%PWSIZE% -x%PWSIZE% | clip

Just think about all the things that you can pipe to your clipboard!

If you are using XP, you will have to copy clip.exe from a Windows 2003 server (%windir%/system32) to your machine.

I would like to mention that using a clipboard extension program will also let you see what you are about to paste.  Ditto will even let you edit it right there before pasting it.

Related Posts


Comment by Julie

April 8, 2009 9:43 AM

On Windows 2003 and newer OSs, you can also pipe results to the clipboard.

For example, ipconfig /all | clip will export the results of the ipconfig /all command to the clipboard, ready for pasting.

Clip.exe isn't available natively on Windows XP, but you can just copy the file from a Windows 2003 server to the XP workstation. More details are at


Add Comment

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]