in reply to Creating Directories

Using a system call to do this is unnecessary. Perl has a mkdir function built in.

my $new_folder = 'c:\\path\\directory'; mkdir $new_folder unless -d $new_folder; die "Could not create dir $new_folder: $!" unless -d $new_folder;

HTH

--
Allolex