CLIP2TEXT — Copy text from the clipboard to a file or standard output.

Syntax:
CLIP2TEXT /A /NB /O /P /T /UTF8 /UTF16 filename

/Aappend to an existing file
/NBdo not write a Byte Order Mark
/Ooverwrite an existing file
/Ppage output (useful only when output is to stdout)
/Tquietly
/UTF8write file in the UTF-8 encoding
/UTF16write file in the UTF-16 encoding (default)

Only one filename is allowed. If no filename is specified, CLIP2TEXT will dump the clipboard to standard output.

See also: the TEXT2CLIP command.