How to copy files with white spaces?
Posted on 2005-04-13
How do I copy files with whitespaces? I am using ActivePERL on Windows.
$from = "white space is here.txt";
$to = "c:/";
File::Copy::syscopy($from, $to) or warn("Cannot copy\n");
File::Copy::copy($from, $to) or warn("Cannot copy\n");
Win32::CopyFile($from, $to, 1) or warn("Cannot copy " . &cwd . "/$filename!\n");
And in all of them i get the message Cannot Copy