3

I simply want a list of the folder names (without subfolders) in a directory, but can't seem to find the right command for this. Can anyone help me out :)?

Thanks in advance

holistic
  • 2,975
  • 15
  • 37

1 Answers1

6
SetDirectory@NotebookDirectory[]
Select[
 FileNames[],
 DirectoryQ]
Kuba
  • 136,707
  • 13
  • 279
  • 740