Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

directoryExists(path_to_directory)

Package

file

Alias


Pkg Usage

dirExists(path_to_directory)

Description

Excerpt
hiddentrue

Returns "true" if the directory exists and "false" otherwise.

Returns "true" if the directory exists and "false" otherwise.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

path_to_directory

String

Yes

Specifies the name of the directory to locate.

Return Type

Boolean (true/false)

...

Code Block
if(directoryExists("C:/myDirectory")){
    print("The directory exists!");
} else {
    print("The directory does not exist!");
}

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