Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=deleteDirectory+-+1294369239
widthauto

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

deleteDirectory(path_to_dir)

Package

file

Alias

Pkg Usage

deleteDir(path_to_dir)

Description

Excerpt
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

path_to_dir

string

Yes

Specifies the directory to delete.

Return Type

boolean (true/false)

Example

Code Block
languagejs
deleteDirectory("C:/tmp/MYDIR");

Note

It is recommended that you use forward slashes ( / ) for file paths.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_routine" and space = currentSpace ( )
labelsarray_routines