The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RESUELTAS

Directory not getting all parent folders

wonka1234
Bola de fuego

Hi,

 

I want to extract all folder names from a path

 

Ie path  O:\Alteryx\Community\ParentToExtract1\Nov\20\Test

 

But I want to get all folders under community. Ie O:\Alteryx\Community\ParentToExtract1   , O:\Alteryx\Community\ParentToExtract2, O:\Alteryx\Community\ParentToExtract3.

 

seems like my directory tool is not extracting them all. How can I do this properly and get all parent names folders, I dont need the subfolders of the parent.

3 RESPUESTAS 3

Hi @wonka1234 

 

try this configuration for the directory input tool

 

Felipe_Ribeir0_0-1669047187538.png

 

wonka1234
Bola de fuego

@Felipe_Ribeir0  is there an instance where a parent folder would not be returned? Ie if there is no actual file within the parent?

I am missing some of the folders that should be in my directory.

@wonka1234 these directories that you are missing have some file inside? If they do not have any file inside, unfortunately this tool will not be able to map the folder.

 

There is even an idea accepting votes to make this tool show empty directories: https://community.alteryx.com/t5/Alteryx-Designer-Ideas/Directory-Tool-Empty-Folders/idi-p/168419

 

Etiquetas
Autores con mayor cantidad de soluciones