How to view specific folders in a directory

thanks!

I looked at your example, but it only works for “01” folder, and it works for both Word and PDF files inside these folders. And I need these two types of files to work only with Word.
The robot should only take Word files from these folders and upload them to the program. Then the robot must move all the files, and word and pdf to another folder - “Uploaded to the system”

Now I think at this stage how to choose from the queue only a link - as a transaction and work with a certain folder. To continue loading Word files into the program