system uses the shell. You've got two options: as several people have already suggested, use File::Copy (probably the best course) or quote the source and destination files. I believe this is as simple as
$destinationFile = '"' . $destinationFile . '"';
emc
Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.
In reply to Re: Desination file with space in directory name
by swampyankee
in thread Desination file with space in directory name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |