Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // UNC path to look in
- curDir = '\myuncpath';
- // ftime will hold the execution time
- // fio is our java.io.File object
- ftime = gettickcount();
- fio = createObject('java','java.io.File');
- mylist = fio.init(trim(curDir)).list();
- ftime = gettickcount() - ftime;
Advertisement