Hi, I'm struggling with how to check to see if the users computer has a certain directory. What i'm doing is making the directory, but I don't want to do it if it already exists. The way I'm making it is below :
// define variables :
string path = "\\testingdir";
string command_mkdir = "mkdir " + path;
// make the directory :
I want to put the bottom line in an "if statement", so it only makes the directory if it doesn't exist. Can someone please give me a little help?