$path = "folder1\folder2\folder3";
if (system($createdir)) { print "mkdir failed\n"; };
I want to check if this directory exists before creating it. $cpath is a relative path. I want to create it only if it doesn't exist. I'm using Windows..can anyone help me?
I tried -d and -e, it doesn't work...
if (system($createdir)) { print "mkdir failed\n"; };
I want to check if this directory exists before creating it. $cpath is a relative path. I want to create it only if it doesn't exist. I'm using Windows..can anyone help me?
I tried -d and -e, it doesn't work...