Skip to main content

NewDataFolder

NewDataFolder [/O/S] dataFolderSpec

The NewDataFolder operation creates a new data folder of the given name.

Parameters

dataFolderSpec can be just a data folder name, a partial path (relative to the current data folder) and name or a full path (starting from root) and name. If just a data folder name is used then the new data folder is created in the current data folder. If a full or partial path is used, all data folders except for the last in the path must already exist.

Flags

/ONo error if a data folder of the same name already exists.
/SSets the current data folder to dataFolderSpec after creating the data folder.

Examples

NewDataFolder foo       // Creates foo in current data folder.
NewDataFolder :bar:foo // Creates foo in bar in current data folder.
NewDataFolder root:foo // Creates foo in the root data folder.

See Also

Data Folders