WinAPI

WinAPI is a wrapper class in Dynamics AX that provides access to the Windows API and its DLLs.

Dynamics AX 3.0
Get files in Directory WinAPI api = new WinAPI; str fileName; int i;

[i,fileName] = WinAPI::findFirstFile("C:/Users/Public/Documents/Test/*.*"); while(fileName) {  info(fileName); fileName = WinAPI::findNextFile(i); }