Clipboard command line tool for Windows, with Unicode support.
- Requires dotnet 2 or later (XP-SP3 or later).
- Compiles/runs on mono too.
Usage: uclip [-i] Copy standard input as UTF-8 to the clipboard
uclip -I Copy standard input as UTF-16LE to the clipboard
uclip -c [TEXT] Copy TEXT to the clipboard (empty if no TEXT)
uclip -o Write clipboard text to standard output as UTF-8
uclip -oo Like -o, but no special handling of console output
uclip -O Write clipboard text to standard output as UTF-16LE
uclip -h Print this help and exit
Version 0.6, https://github.com/avih/uclip
On Windows XP-SP3 or later, assuming C:\Windows
:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe uclip.cs
Using mono:
mcs -r:System.Windows.Forms uclip.cs
Compiled binaries are available at the releases page: https://github.com/avih/uclip/releases
A cutdown version which only supports -c STR
and -o
is available
in a comment at the end of the source file uclip.cs
.