Zoomed Image

AMSX Scripting Language - Command : ListFilesToTempTable

Summary

List files in a folder into a temporary table

Description

Scans the specified folder for files matching the file specification and inserts each file's full path and last-access date into a new temp table with columns FileName and DateCreated. The folder must exist and be within a permitted path. Sets MSRESULT to the temp table name.

Parameters

ParameterDescription
cmdfolder path to scan
Argument 0file specification filter (e.g. *.xml, *.csv)
Argument 1temp table name to create and populate

Syntax


ListFilesToTempTable "folder path to scan", "file specification filter (e.g. *.xml, *.csv)", "temp table name to create and populate"

Return to the AMSX Command Reference