This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathcreate-folder.lcdoc
More file actions
58 lines (40 loc) · 1.73 KB
/
create-folder.lcdoc
File metadata and controls
58 lines (40 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Name: create folder
Synonyms: create directory, new folder, new directory
Type: command
Syntax: create folder <pathName>
Summary:
Makes a new <folder>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Security: disk
Example:
create folder "Translated Documents"
Example:
create folder "../My Files/Temp Files"
Parameters:
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.
Description:
Use the <create folder> <command> to make a new <folder> for a stack's
use. For example, if the stack generates temporary <text file|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.
References: create alias (command), revDeleteFolder (command),
tempName (function), specialFolderPath (function), files (function),
command (glossary), text file (glossary), folder (glossary),
umask (property)
Tags: file system