DirectoryList

=DirectoryList(string path, [string filter, bool listDirectories, bool absolutePaths]) : {string}

Returns array (See XPathOnUrl) with files, directory names or absolute paths.

Tip: Dump is a very useful function for working with functions that returns arrays.

Example

Return an array of absolute paths of all XML files in folder "c:\foo".

=DirectoryList("C:\foo\","*.xml",FALSE,TRUE)

Comments

comments powered by Disqus