Any reason why you're not using the Perl core module, File:ath [1] and its mkpath() function? It gives you a lot more control over the directory creation.
Code:
#!/usr/bin/perl -w
use strict;
use File::Path;
my $dir='C:\Documents and Settings';
mkpath($dir);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.