Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ron1
Partner - Creator
Partner - Creator

Recursive Sub Directories in Qlik

Hi All,

I want to get directories recursively. It has to be a dynamic process. But I am only getting first level sub directories.

Kindly help

Root Folder: \\preprod\Apps\Qlikview\Pipeline\

My folder structure:

Pipeline

   Folder1

       Folder2

           Folder3

******This is my code however it is taking only first level sub directories******

Set UAT="\\preprod\Apps\Qlikview\Pipeline\";

FOR each dir in dirlist ('$(UAT)'&'*')
trace 'Dir is: '$(dir);

--Call Subroutine Code Will be added here--

NEXT dir

********My Code End************************************

 

I need to get all the sub directories and diretories inside my sub directories (It has to be recursive)

2 Replies
Ron1
Partner - Creator
Partner - Creator
Author

The link which you have shared will only go through one level. It will not fetch files from multi layer folders.

Unfortunately that will not solve my purpose  😞