wpaste writes any text currently residing in the clipboard to either standard output or a specified file.
displays all formats that can be used to read items currently on the clipboard.
displays any file names currently on the clipboard (rather than clipboard text).
- writes clipboard items in HTML format as plain text to the standard output or specified file. Items in text format are not written.
ensures that the pasted text has a final carriage return and newline at the end. Often a final newline is not included when a block of text is selected and copied from a Windows application. This option ensures that a newline is included in wpaste's output.
enables quiet mode. Usually error codes are written to standard error, but with the
-qoption these codes are suppressed. This option is useful when working with shell scripts which just want to check the return value for errors. -r
keeps trying to access the clipboard if it is not accessible at first. Without this option, wpaste issues an error and stops if it cannot access the clipboard.
is similar to the
-roption except that wpaste stops trying to access the clipboard after timeout seconds. If you specify a timeout of less than one second, a default of one second is used.
Possible exit status values are:
Unable to get access to clipboard.
No item in text format (or HTML format if
-his specified) available on clipboard.
Unable to read text from clipboard
Unable to create output file
Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.