setBatchMode(true); dir = '/myDirectory/'; print(dir); list = getFileList(dir); Array.print(list); for (i=0; i