in reply to Re^4: File name is long to copy
in thread File name is long to copy

If you are convinced the path/filename is correct, can you replace the copy with syscopy to make use of Win32::CopyFile via Win32API? Which version of Perl are you running?

Replies are listed 'Best First'.
Re^6: File name is long to copy
by harishnv (Sexton) on Apr 26, 2020 at 14:01 UTC

    Perl512 I used syscopy, got this error "Undefined subroutine &main::syscopy called at .."