cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • JMP multivariate capabilities let you understand relationships between multiple variables simultaneously. See how. Friday, Aug. 14, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
MathStatChem
Level VII

Only get files and not sub-directories with Files In Directory( )

Is there a simple way to use Files In Directory( ) to only get files and not sub-directories in a specified directory.  

I guess one approach would be to use the recursive(1) option, and then filter out from the list the strings that have a "/" in them, but seems there aught to be a simpler way.  

1 REPLY 1
jthi
Super User

Re: Only get files and not sub-directories with Files In Directory( )

If I remember correctly I have just gotten the list with Files In Directory and then used Filter Each to get the list of files. You could also use command line or multiple file import (Directory Tree: Explore Space Used by Folders )

-Jarmo

Recommended Articles