Makes a new folder.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security: disk
# Syntax
create folder pathName
# Params
- pathName : Specifies the name and location of the folder. If you specify a name but not a location, the folder is created in the defaultFolder.
# Examples
create folder "Translated Documents"
create folder "../My Files/Temp Files"
# Description
Use the create folder command to make a new folder for a stack's use. For example, if the stack generates temporary text files, creating a folder for the files prevents them from cluttering the user's system.
To create a file, use the open file command.
>*Note:* iOS imposes strict controls over what you can and cannot > access. Each application in iOS is stored in its own 'sandbox' folder > (referred to as the home folder). An application is free to read and > write files within this folder and its descendants, but it is not > allowed to access anything outside of the 'sandbox'.
>*Note:* An Android application is installed on the phone in the form of > its zip package. This means that any assets that are included are not > available as discrete files in the native filesystem. In order to > manage this the engine essentially 'virtualizes' the asset files you > include, allowing (read-only) manipulation with all the standard > LiveCode file and folder handling syntax.
# Tags
# See
- **property:** umask - **command:** create alias, revDeleteFolder - **function:** tempName, specialFolderPath, files - **glossary:** command, text file, folder