4D v16.3

FOLDER LIST

Home

 
4D v16.3
FOLDER LIST

FOLDER LIST 


 

FOLDER LIST ( pathname ; directories ) 
Parameter Type   Description
pathname  String in Pathname to volume, directory or folder
directories  String array in Names of the directories present at this location

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.



See also 

DOCUMENT LIST
VOLUME LIST

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 473

This command modifies the Error system variableThis command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)