How can i check to see if a directory exists and if it doesnt to create it? I am able to accomplish this with a file, thats pretty simple, its the directory i cant figure out. :confused:
:confused: Thanks!
Printable View
How can i check to see if a directory exists and if it doesnt to create it? I am able to accomplish this with a file, thats pretty simple, its the directory i cant figure out. :confused:
:confused: Thanks!
For some reason, i overlooked the simple System.IO.Directory.Exists() method.
Ok, good, now i know how to check for a directory, now i just need to know how to create one.
Thanks!
Ok, i guess i spoke too soon. Sorry about the waste of a post..
Code:System.IO.Directory.CretaeDirectory(string directory);