Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Problems executing a copy command on win32

by borisz (Canon)
on Jan 14, 2004 at 22:23 UTC ( [id://321406]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://321406]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found