Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Josh_Good
Employee
Employee

Load list of files in a Folder

Hi,

I am wondering if there is a way to ‘load’ a list of files in aspecified directory/file folder?  I have an application need to monitorthe date stamps of files in folder and take action if they have been sitting there past a set threshold of time.

Thanks.

1 Solution

Accepted Solutions
danielrozental
Master II
Master II

Sure, look at functions filelist() and filetime().

View solution in original post

2 Replies
danielrozental
Master II
Master II

Sure, look at functions filelist() and filetime().

Josh_Good
Employee
Employee
Author

Thanks. Here is the code I ended up using

LOAD Distinct FileName() as FileName,

     FileTime() as filetime

FROM

[*.txt]

(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);