JSI Tip 5377. How can I paste clipboard text to a CMD session's STDOUT?

Jerold Schulman

May 30, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

To paste clipboard text to a CMD session's STDOUT, Download paste.zip. Unzip paste.zip and move paste.exe to a folder in your PATH.

When you open a CMD prompt and type paste /?, you receive:

Version 1.0, Copyright (C)2001, Frank P. Westlake.
Prints clipboard text to STDOUT.

PASTE

Checks for these clipboard data types in the order listed, the first match will be printed:

CF_OEMTEXT
CF_TEXT
CF_DSPTEXT
CF_HDROP



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like