in reply to Re^13: Move/Copy files using Clipboard!
in thread Move/Copy files using Clipboard!

Ok, runing that and pasting works! However, I had this error:
C:\Clipboard\Win32-Clipboard-0.52>patch.exe -p 1 -i 53.patch patching file `Clipboard.pm' patching file `Clipboard.xs' patching file `Makefile' Hunk #2 succeeded at 239 (offset -6 lines). Hunk #3 FAILED at 490. Hunk #4 FAILED at 812. 2 out of 4 hunks FAILED -- saving rejects to Makefile.rej patching file `META.yml' patching file `t\test.t' patch unexpectedly ends in middle of line patch: **** malformed patch at line 218:
But, that just affected the test, so not that big of a deal...

Now, a few things needs to be done in C :)


Nice that:
my @files = ('c:\Clipboard\Win32-Clipboard-0.52\53.patch', 'c:\Clipboa +rd\Win32-Clipboard-0.52\Clipboard.bs'); $clip->SetFiles( @files );
works! :)

I can also point out that it would be possible to do this with Win32::API. You have to deepdive into http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/transferring/clipboard.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/dragqueryfile.asp and use that with http://perlmonks.com/?node_id=386530 . But, I guess you have to dive to MSDN aswell doing it the .xs (C) way, but here you have to do C code...