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 223
Expand file tree
/
Copy pathdelete-folder.xml
More file actions
executable file
·79 lines (64 loc) · 3.32 KB
/
Copy pathdelete-folder.xml
File metadata and controls
executable file
·79 lines (64 loc) · 3.32 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<doc>
<legacy_id>1892</legacy_id>
<name>delete folder</name>
<type>command</type>
<syntax>
<example>delete folder <i>pathname</i></example>
</syntax>
<synonyms>
<synonym>clear folder</synonym>
<synonym>delete directory</synonym>
<synonym>clear directory</synonym>
</synonyms>
<summary>Removes a <property tag="defaultFolder">folder</property> from the user's system.</summary>
<examples>
<example>delete folder "/bin/badprogram/"</example>
<example>delete folder "../Last Version"</example>
<example><p>answer folder "Choose the folder you wish to delete."</p><p>put it into tChosenFolder</p><p>delete folder tChosenFolder</p></example>
</examples>
<history>
<introduced version="1.0">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<changed version="4.6.1">Added Support for Android and iOS.</changed>
<experimental version=""></experimental>
<nonexperimental version=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
<disk/>
</security>
<classification>
<category>Files, Folders, & Resources</category>
</classification>
<references>
<function tag="specialFolderPath">specialFolderPath Function</function>
<command tag="delete">delete Command</command>
<command tag="revMoveFolder">revMoveFolder Command</command>
<command tag="delete URL">delete URL Command</command>
</references>
<description>
<overview>Use the <b>delete folder</b> <glossary tag="command">command</glossary> to clean up by removing a <property tag="defaultFolder">folder</property> you created.</overview>
<parameters>
<parameter>
<name>pathName</name>
<description>Specifies the name and location of the folder. If you specify a name but not a location, LiveCode assumes the folder is in the defaultFolder.</description>
</parameter> </parameters>
<value></value>
<comments>If a folder contains any files or folders, it cannot be deleted with the <b>delete folder</b> <glossary tag="command">command</glossary> until the items inside it are deleted or moved. To delete a folder that is not empty, use the <command tag="revDeleteFolder">revDeleteFolder</command> <glossary tag="command">command</glossary>.<p></p><p>This command can also be used to remove folders your stack did not create. Of course, a stack should not remove folders it did not create without obtaining explicit confirmation from the user.</p><p></p><p></p><p></p><p></p><p></p><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><p></p><p></p><p></p><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.</note><p>	</p></comments>
</description>
</doc>