I am jusing JMP 9.0.3 and using a script to execute a batch import of csv files from a designated folder. I am using the "Pick Directory" command to store the selected directory and the "Files In Directory" command to store the file names in that directory. I then loop through the files in a For Loop. The problem is that in some of the directories there are sub-directories and the script does not ignore these and consequently aborts. Is there a way to limit the array that results from the "Files in Directory" command to only the files in that directory and ignore any sub-directories?
Thanks,
Andy