I've tried single and double quotes but to no avail Anybody know the way round this? All help appreciated Declanmy $dir = "D:\Temp\Test directory\Logs" ; $dir =~ s/\\/\//g ; mkdir ($dir) || die "Cannot mkdir $dir: $!" ;
Edited (davorg) - added code tags
In reply to directories with spaces by dhjackal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |