$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...
I want to form a path name so that I know where to save the file.
For example, this is taken from a sample XML file.
I want to take the words between each pair of single quotes, and concatenate and form a path.
So the output should be firstlevel\secondlevel\thirdlevel\filename
Can someone...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.