Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7512823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:59:25+00:00 2026-05-29T23:59:25+00:00

I have a folder let say (Main folder), which could have sub folders based

  • 0

I have a folder let say (Main folder), which could have sub folders based on the employee id ex ( 67,68,78,92.. etc) which means that employee 67,68, 78 and 92 has uploaded some excel files to their folder. How can I loop through all sub folders and their files one by one.

In the beginning, I have only main folder. I am not aware that which employee is going to upload how many excel sheet for a particular month.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:59:27+00:00Added an answer on May 29, 2026 at 11:59 pm

    You need to use the “Foreach Loop Container”. When you double-click it, go to “Collection” and choose the “Foreach File Enumerator”. Once you do that, it will ask for the folder that contains the files, here you have to choose your Main folder. Then you need to check the “Traverse subfolders” checkbox and that should do it.

    Looping over files with the Foreach Loop

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a main folder in my website named test which contains
I have, let's say, www.website.org/folder/ which inside has the following .htaccess RewriteEngine On RewriteRule
I have a folder FolderA which contains three sub-folders: foldera1 foldera2 and foldera3 I
I have a folder, versioned under SVN, with let's say 100 of files which
Let's say i have 2 files located in the same folder. /Test/View.cshtml <h1>File that
I have WCF service folder let's say : TestService and it contains following folders
Greetings. 1 - Let's say I have about 500 folders of variable size with
I have a folder, c:\websites\test , and it contains folders and files that were
Let's say I have my main class in C:\Users\Justian\Documents\ . How can I get
Let say I have a directory which is being hosted by Jetty or Apache

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.