Error When Saving a file to a nonexistant Folder, How to create a folder?

Stepdragon

Member
Licensed User
Longtime User
Using File.Copy2() I can save over, or create files. But only in directories which already exist. I have tested it and came to that conclusion.

Is there a simple command like File.MakeDir() or something along those lines? Basically I can't not expect a user to not format his SD card becuase I don't have an error handler, or even better, a start over script.

Any Ideas?
 

Stepdragon

Member
Licensed User
Longtime User
.............................................................
Now I feel stupid... because my thought was EXACTLY THE CORRECT SYNTAX.


Intelliprompt why had you failed me? I must be tired, I didn't see that at all... Thanks though!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…