DriveWorks Pro 18: 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:\MyDocuments\SW\Roller","",TRUE)Bearing.SLDPRT|Bracket.SLDPRT|RollerMountAssembly.SLDASM| RollerMountAssembly.SLDDRWWill list all files, including extension, in the specified folder.
SppGetFiles("C:\MyDocuments\SW\RollerBracket",".SLDDRW",TRUE)RollerMountAssembly.SLDDRWWill list all files with the extension .SLDDRW in the specified folder.

Table of Contents