Is it possible to create a directory on the SD card using BrightScript? I've been able to create a file, like this:
CreateObject("roCreateFile", "SD:/dir1/dir2/aNewFile")
However, this assumes that dir1/dir2 already exists on the SD card. If not, they are not created implicitly. I also tried this
CreateObject("roCreateFile", "SD:/dir1/")
Hoping that it would see the trailing slash, and create a directory rather than a file. But it did not.
Since there's an API to create files, it would seem as a strange omission that those can't be created anywhere except at the root level, unless the directories have already been created by other means. So I guess I'm overlooking someghing.
-JM
PS: Using the latest 6.1.37 beta version on an XD232, fwiw.