Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=deleteDirectory+-+1294369239 |
---|
width | auto |
---|
|
...
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | deleteDirectory(path_to_dir) | Package | file | Alias | | Pkg Usage | deleteDir(path_to_dir) | |
Description
Excerpt |
---|
|
Deletes a dir. It also returns "true" if the directory was deleted successfully and "false" otherwise. |
Deletes a dir. It also returns "true" if the directory was deleted successfully and "false" otherwise. Directory must be empty.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
path_to_dir | string | Yes | Specifies the directory to delete. | |
Return Type
boolean (true/false)
Example
Code Block |
---|
|
deleteDirectory("C:/tmp/MYDIR"); |
Note |
---|
It is recommended that you use forward slashes ( / ) for file paths. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "file_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|