RE: directory creation help

2002-03-20 Thread John Marion
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

RE: directory creation help

2002-03-19 Thread Timothy Johnson
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){