Источник:
http://dax-ideas.blogspot.com/2010/0...directory.html
==============
To display names of the files in directory
static void ShowFileNameinDirectory(Args _args)
{
int handle;
FilePath filePath;
FileName FileName;
;
filepath = "D:\\Cole Hersee Reports";
[handle,filename] =
WinAPI::findFirstFile(filepath + "\\*.xls");
while (filename)
{
info(filepath + "\\" + filename);
filename = WinAPI::findNextFile(handle);
}
WinAPI::findClose(handle);
}
Источник:
http://dax-ideas.blogspot.com/2010/0...directory.html