- or download this
$targetDirFull = 'C:\target\';
- or download this
unless( chdir('C:\\') ) { print "Error 1..\n" ;}
else { chdir('C:\\'); }
...
print "creating directory \"Target\"...\n";
mkdir('Target',0777);
}
- or download this
unless(readdir(ORIG)) {
print "Error 2"; ## not a very informative report!
}
else {
...