//提個建議
//如例
//FORX %CurDir%\Path1\*.DLL,AnyDLL,0,CALL $%AnyDLL%

//FORX在搜尋*.DLL時，可否排序

//如DOS 的 FOR
//for /f "delims=" %i in ('dir /b/s/on %CurDir%\Path1\*.DLL') do call "%i"

_SUB CallAllDllSort
    TEAM ENVI &&I=1|ENVI &&MSG=| ENVI &&COUNT=0|  ENVI &&AnyDLL=  //定义为局部临时变量，
    EXEC* &MSG=!CMD.EXE /c dir /b/s/on %*
    READ  -,-1,&COUNT,%&MSG%
    LOOP #%&I%<=%&COUNT%,
    {
        READ -,%&I%,&AnyDLL,%&MSG%
        CALC &I=%&I% + 1
        CALL $%&AnyDLL%	
    }
_END

//调用示例
//CALL CallAllDllSort %CurDir%\Path1\*.DLL

