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
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.