Moderator: Neosoft Support
FileList
Purpose:
Generate a list of files and/or folders found in the specified path.
Category:
Files
Syntax:
FileList "file mask" "options" "variable"
file mask
The path and file name mask to search. The mask can include wildcard characters. For example, "C:\Sample\*.*" will list all files in the C:\Sample folder.
options
Can include any combination of the following:
Files
Include files in the list.
Folders
Include folders in the list
NoExt
Remove extensions from file names before adding them to the list.
variable
The name of the variable to store the list. Multiple files will be separated by carriage returns.
Example:
The following example compiles a list of all JPEG images in the "C:\My Photos" folder and stores them in a variable called [Pics]:
FileList "C:\My Photos\*.jpg" "Files+NoExt" "[Pics]"
Users browsing this forum: No registered users and 1 guest