Advertisement
murp

Directory List Java

Jul 25th, 2015
694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     // UNC path to look in
  2. curDir = '\myuncpath';
  3.  
  4. // ftime will hold the execution time
  5. // fio is our java.io.File object
  6. ftime = gettickcount();
  7.     fio = createObject('java','java.io.File');
  8.     mylist = fio.init(trim(curDir)).list();
  9. ftime = gettickcount() - ftime;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement