Returns a list of files and folders at the specified path.
|Format||CNSImage_Folder_List ( Path ; Wildcard ; FieldSeparator ; RowSeparator )|
The path to the folder to list.
Defines a file name pattern to determine which files to list. [eg. “*.txt” would list all files with a “txt” file extension; default is to list all files.]
Defines the separator to use between the fields of information about a single file. [Default is "
Defines the separator to use between multiple files. [Default is a return.]
- Example 1
Lists the files and folders found in the "Images" folder.
CNSImage_Folder_List ( "~/Desktop/Images" )
- Example 2
Lists only JPG images found in the "Images" folder.
CNSImage_Folder_List ( "C:\Users\Bob\Desktop\Images" ; "*.jpg" )
- Example 3
Lists the files and folders found in the "Images" folder with a Field separator of a semicolon and and a Row separator of "[Row]".
CNSImage_Folder_List ( "~/Desktop/Images" ; ""; ";"; "[Row] )