3 ms·
Beware that clip.exe clobbers unicode. For example, `echo caña | clip.exe` sets the clipboard to `ca├a`. And there's no unclip.exe. You'd have to use `powershe
by wonger_ 3y ago
Beware that clip.exe clobbers unicode. For example, `echo caña | clip.exe` sets the clipboard to `ca├a`.
And there's no unclip.exe. You'd have to use `powershell.exe get-clipboard`, which is pretty slow.
I use this simple alternative: https://github.com/equalsraf/win32yank https://github.com/equalsraf/win32yank
`echo caña | win32clip.exe -i` and `win32yank.exe -o`
- adzm 3y agoI made a simple paste.exe utility for this actually. I suppose I should put it up on GitHub. Though win32yank pretty much does it all already.