in reply to Problems executing a copy command on win32

Use system instead of exec. exec never returns. Beside that consider to use the File::Copy module to copy the files.
Boris

Replies are listed 'Best First'.
Re: Re: Problems executing a copy command on win32
by mce (Curate) on Jan 19, 2004 at 15:17 UTC
    In the past, I had problems with File::Copy on win32 when copying large files from ntfs to fat32. I now use Win32::CopyFile, and this works always on windows.(but it is not portable)
    ---------------------------
    Dr. Mark Ceulemans
    Senior Consultant
    BMC, Belgium
      Where can I find Win32::CopyFile? I have looked on CPAN and I don't see it there. Thanks.