FOLDER LIST

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


FOLDER LIST (pathname; directories)

ParameterTypeDescription
pathnameStringPathname to volume, directory or folder
directoriesArrayNames 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.

Note: 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.

Warning: The maximum length of the parameter pathname is 255 characters. If you pass a longer pathname, it will be truncated and a File manager error will be generated.

See Also

DOCUMENT LIST, VOLUME LIST.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next