|
I am writing a command prompt batch file that refers to several imageJ macro and batch commands. I begin with an "Images" folder, containing only images. After the first step, however, a folder called "warps" becomes a subdirectory within "Images." Now when the subsequent imageJ batch/macro files run, the getFileList(dir) command(within the batches/macros) includes this subdirectory("warps"). I only want to work with the images though. Is there a way to screen the directory for only images and ignore subfolders?
Thanks!
|