Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Create directory if it does not exist

string currentPath = Directory.GetCurrentDirectory();
if (!Directory.Exists(Path.Combine(currentPath, "ACH")))
    Directory.CreateDirectory(Path.Combine(currentPath, "ACH"));
//at this point your folder should exist
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Create #directory #exist
ADD COMMENT
Topic
Name
8+7 =