DriveWorks Pro 15: SppGetFiles [send feedback...]


Returns a Pipebar (|) delimited String value that lists the files in the selected folder.


SppGetFiles([Root Folder],[File Extension],[Include File Extension])


Root Folder is the folder from which the files will be listed.

File Extension is the file extension of the files to show. Leave as empty string to show all files.

Include File Extension is TRUE to show the extension for each file, FALSE to just show the file name.


SppGetFiles("C:\DriveWorks Pro","",TRUE)Will list all files, including extension, in the folder C:\DriveWorks Pro.
SppGetFiles("C:\DriveWorks Pro",".exe",TRUE)Will list all files with the extension .exe in the folder C:\DriveWorks Pro.

Table of Contents