Cannot mkdir D:/Temp/ExpImpTest2/Declan test/here/Logs: No such file or directory at C:\Documents and Settings\dheerey\Desktop\Development\Perl\PSGUtility\test2.pl line 38, line 164 #### use File::Path ; my $dir = 'D:\Temp\ExpImpTest2\Declan test2\here\Logs' ; $dir =~ s/\\/\//g ; mkpath ($dir) || die "Cannot create $dir: $!" ;