Skip to main content
Version: Next

FOLDER LIST

FOLDER LIST ( pathname ; directories )

ParameterTypeDescription
pathnameTextPathname to volume, directory or folder
directoriesText arrayNames of the directories present at this location

Description

The FOLDER LIST command populates the Text or String array directories with the names of the folders located at the pathname you pass in pathname.The pathname parameter only accepts absolute pathnames.

If there are no folders at the specified location, the command returns an empty array. If the pathname you pass in pathname is invalid, FOLDER LIST generate a file manager error that you can intercept using an ON ERR CALL method.

See also

DOCUMENT LIST
VOLUME LIST

Properties

Command number473
Thread safe
Modifies variableserror