Next: exists
Up: Methods
Previous: move
Contents
Description
Returns an array contains the name of the specified files.
Syntax
folder.files([name])
Parameters
- name
- Specifies the name of the file(don't include the path name). Supports wild characters `*' and `?'.
If the parameter is not specified, act just like the files property.
Returns
Array.
Example
var f = new Folder("c:\\windows");
trace(f.files("*.exe;*.dll;*.scr"));
Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.