in reply to Win32: Weird file copy failure using system
Try system($ENV{ComSpec}, '/c', 'copy', $orig, $target) or something like it. Or, as you expected, you should check out the module, File::Copy for a more portable solution.
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32: Weird file copy failure using system (no 'cmd /c')
by tye (Sage) on Jan 07, 2005 at 03:03 UTC |