in reply to Desination file with space in directory name
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.
|
|---|