in reply to Clipboard to file
Put this into a ".bat" file, e.g., "clipfile.bat" (one line!):
@perl -MWin32::Clipboard -e "binmode(*STDOUT); $c=Win32::Clipboard(); +print $c->Get();" > clipfile.txt
Update: Added binmode() call as in tilly's suggestion.
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: Clipboard to file
by tilly (Archbishop) on Aug 21, 2001 at 21:10 UTC |