FolderItem.CreateAsFolder

From Xojo Documentation

Method

FolderItem.CreateAsFolder()

Supported for all project types and targets.

Creates a folder at the location specified by the FolderItem properties.

Example

Create a folder in Documents:

Var myData As FolderItem = SpecialFolder.Documents.Child("MyData")
myData.CreateAsFolder