Finally worked this one out. There was a version problem. We were tasked
to use the version of PERL in NTReskit (5.0.0.1). It does not work with any
variation that we came up with or with the ones that this group suggested
(thanks!) We have decided to install the stable release and then run
I don't have my regular computer with me to test this, but when I want to
create a directory if it doesn't exist, I do something like this:
$fullpath = c:\\temp\\test\\level2;
@path = split /\\/,$fullpath;
$dir = shift @path;
foreach(@path){
$dir = $dir.\\$_;
if(!-e $dir){