I want when I run my program to create a default folder for it in My Documents for the first use of this application (if a directory with the same name already exists then I want to keep this folder).
This is the code I tried so far:
string path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
System.IO.Directory.CreateDirectory(path + @"\MaBib");
I’m not sure if i understand the question since
only creates the directory if it does not exist.
Directory.CreateDirectoryMethod