Hi, I had the problem too but grinder gave me a hint: " It depends on the environment" and in Windows/DOS, directories with spaces are between quotes ex: c:\>dir "Program Files"
So, in windows, escape space chars like this: (supposing you have a "test" directory in c:\
$dir = "\"Test Directory\"";
mkdir ($dir) or die "$!\n$^E";
__END__
Invalid argument
The filename, directory name, or volume label syntax is incorrect at -
+ line 2.