tumblr tracker

ListFiles

Library Reference ›› Folder ››
Parent Previous Next

Folder.ListFiles


Namespace: Folder


Lists all files in a folder.


retval = Folder.ListFiles(Path)


Parameters:

- Path; string constant or variable containing the folder path to list the files from


Returns:

array of strings; files contained in the folder pointed in Path; array value.


Example


$Files = Folder.ListFiles("C:\TEMP");

ForEach ($File in $Files)
{
   MessageBox.ShowInfo($File);
}