FileSystem.getFileList() | This page was last modified over 30 day(s) ago and has 2 comment(s)
|
Back to FileSystem Class Summary |
Availability |
Windows, Mac OSX, Linux |
Usage |
mdm.FileSystem.getFileList(folderPath:String, searchMask:String):Array |
Parameters |
folderPath:String - Path to a folder searchMask:String - Search mask |
Returns |
An Array |
Description |
Returns an array of files which exist in the specified folder and have the specified extension. |
Notes |
None |
Example Code |
var myFiles:Array = mdm.FileSystem.getFileList("c:\\", "*.txt"); mdm.Dialogs.prompt(myFiles.toString()); //Other example: var myFile:Array = mewm.FileSystem.getFileList("C:\\myFolder\\storage\\"); var list:String = myFile.toString().split(",").join("\n"); |
mdm.FileSystem Class Example Downloads |
No Example Downloads Available |
![]() |
Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here |
After Logging In, Click Here to Refresh This Page |