hi there,

some time ago I've had the same problem and used the following code
for this:

static void snatchFilesFromFolder(Args _args)
{
    integer             hdl;
    FileName            fileName;
    #File
    ;
    [hdl, fileName] = WinAPI::findFirstFile("D:\\tmp\\" +
#AllFilesName + #AllFilesExt);

    while (fileName)
    {
        info(fileName);
        fileName = WinAPI::findNextFile(hdl);
    }
    WinAPI::findClose(hdl);
}

hope this helps...
best regards
WoHeGro








Yahoo! Groups Links

Reply via email to