Skip to main content

Hello everybody,

I try to get all folder, subfolder name and file mane, type in output file.

the output must display like a tree.

EX content of C:

C\

     B\B1\T.txt

      D\H.pdf

 

Output: file.txt

C

     B

          B1

                T.txt(txt)        

     D   

          H.pdf(pdf)

 

I thank you for your very valuable help.

Hi @Olatidoye ,

 

Please find the below,

You can get the Folder and Subfolder names by select Include all sub folder option.

Once you have get subfolder path, (pass the path location into another loop) 

add Loop For Each file in Folder for the getting the filename

 

Note : Include the if condition for validate the file extensions

 

 
 

Thank for your reply . please can you show step by step in order to follow you 


 


hello ,

when i run i get this error message

 


This is the code on AA360

 

 


have you selected the 1st loop, like a below

 

 


Reply