Which version of Windows? It doesn't look like you tried what I suggested, note the $!
copy( $source, $target ) or die "couldn't copy file $!"; #---------------------------------------------------^
In reply to Re^3: File name is long to copy
by marto
in thread File name is long to copy
by harishnv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |