Usage: [options] [FileName]
ClipCmd reads and writes to and from the clipboard.
-? or -Help (this usage)
-Clear (or -c) clears the clipboard
-ClipFormats (or -cf) writes tab-delimited format number and name to StdOut
-HasFormat (or -hf) ERRORLEVEL 1 if given format is NOT on the clipboard
example: -hf Text (or Bitmap, MetaFile, or a number for custom formats)
(if format is not given, default is Text)
-ReadFrom (or -r) reads FileName to clipboard (default)
(if FileName has an image extension (bmp or wmf) the image is read to
the clipboard otherwise, the file is assumed to be text)
-WriteTo (or -w) writes clipboard to FileName
(if FileName has an image extension (bmp or wmf) the image is written to
the clipboard otherwise, text is written)
FileName is the name of the file to read from or write to.
If FileName contains spaces, surround with double quotes.
If FileName is not given, default is Standard Input / Output