method resource.filesystem.folder.create
Create a folder
Contract
Return typetype.<one_of false resource.filesystem.folder/>
No input parameters.
Water Contract
<method resource.filesystem.folder.create
  _return_type=<type.one_of false resource.filesystem.folder/>/>

See also: file, folder, exists, set_file_content_and_create_folders_as_needed

Creates a folder at the specified path. If the folder specified already exists, create will return the folder. If there is an error creating the folder, e.g., invalid access permissions, create will throw an error.
Example: Create a folder
<folder "logical://user/some_folder" />.<create />
If a path to the folder does not exist, create will attempt to create the entire path and the specified folder. It is also possible to create a new file in a path that does not yet exist by using the set_file_content_and_create_folders_as_needed method. Notice that the field name for this method is new_content .
Example: Create a new file with a new path
<file "logical://user/new_folder/test_file.txt" />.
<set_file_content_and_create_folders_as_needed new_content="new stuff" />