## Datalyst Blog

Datalyst delivers expert managed IT services in Providence, RI. Optimize performance, secure your systems, and grow with us. Contact us today!

 [ Categories ](https://datalyst.directivesites.com/blog/categories "Categories")

 [ Tags ](https://datalyst.directivesites.com/blog/tags "Tags")

 [ Categories:  All Categories ](https://datalyst.directivesites.com/javascript:void(0); "Categories")

 Search...Suggested keywords

 [  x ](https://datalyst.directivesites.com/javascript:void(0);)

 <a class="eb-image-viewport"></a>

#  Tip of the Week: How to Use Excel to Quickly Generate Folders

  [Datalyst Blog](https://datalyst.directivesites.com/blog/categories/blog)   [Tip of the Week](https://datalyst.directivesites.com/blog/categories/tip-of-the-week)

  [Daniel Mathieu](https://datalyst.directivesites.com/blog/blogger/daniel-mathieu)

  Wednesday, 06 September 2023

   [ 0 Comments ](https://datalyst.directivesites.com/blog/tip-of-the-week-how-to-use-excel-to-quickly-generate-folders#comments)

 [ ![Tip of the Week: How to Use Excel to Quickly Generate Folders](//datalyst.directivesites.com/images/easyblog_shared/September_2023/09-06-23/b2ap3_large_manyFolders_605110950_400.jpg) ](//datalyst.directivesites.com/images/easyblog_shared/September_2023/09-06-23/manyFolders_605110950_400.jpg "Tip of the Week: How to Use Excel to Quickly Generate Folders")

As a manager, some of the administrative work can be, if not the worst part of the job, easily the least engaging. For instance, having to create all the different folders for the employees under your purview, projects, and other organizational needs. Fortunately, Microsoft Excel offers a relatively quick and easy way of doing just this.

Let’s walk through the process.

## How to Use Excel to Mass Generate Folders (and Even Subfolders!)

Rather than manually going through, creating and naming each folder you need, Microsoft Excel enables you to automate the process somewhat. The trick revolves around you creating a Windows Batch file—a type of file that contains a script that executes predetermined commands in a specified order.

The process is as follows:

- **In one column, list all of the names** your different folders need to have, whether that’s a month and year, each of your team members’ names, or your different departments.
- To turn this into a batch file, you first need to **add a second column that formats this data in a very specific way**. Let’s assume that you wanted a folder for each month of 2024, for instance.

    - Your first column will be your list of months, January, February and so on, with cell A1 formatted as “2024 - January” to help avoid Excel auto-formatting your data.
    - Your second column will have the batch command filled out. This will require the following formula to be used:

        ="MD "&amp;""""&amp;A1&amp;""""

        **Dragging the bottom corner of your top cell down** will populate the rest of your list, referencing the proper cell in the first column to complete the formula.

- This will give you a list formatted as **MD “2024 - January”** and so on. Copy and paste this data into your **Notepad** application.
- Once your batch commands are copied over, save your Notepad file as a **.bat** file format wherever you want your folders to be saved. **Clicking this file** will generate the folders where the .bat file was located.

Hopefully, this will help you to more quickly create the folders you require for your assorted needs.

 [  ](https://datalyst.directivesites.com/javascript:void(0);) [  ](https://datalyst.directivesites.com/javascript:void(0);) [  ](https://datalyst.directivesites.com/javascript:void(0);)

Tags:

  [Tip of the Week](https://datalyst.directivesites.com/blog/tags/tip-of-the-week)   [Microsoft Office](https://datalyst.directivesites.com/blog/tags/microsoft-office)   [Software](https://datalyst.directivesites.com/blog/tags/software)   [Quick Tips](https://datalyst.directivesites.com/blog/tags/quick-tips)

 [  Sports Franchises All-In on Data Analytics ](https://datalyst.directivesites.com/blog/sports-franchises-all-in-on-data-analytics)

 [  It’s Time to Plan Next Year’s Budget, so Consider ... ](https://datalyst.directivesites.com/blog/it-s-time-to-plan-next-year-s-budget-so-consider-managed-it-services)

 About the author

 [ ![Daniel Mathieu](https://datalyst.directivesites.com/images/easyblog_avatar/808_808_blogauthor.png) ](https://datalyst.directivesites.com/blog/blogger/daniel-mathieu)

 [Daniel Mathieu](https://datalyst.directivesites.com/blog/blogger/daniel-mathieu)

  [  ](https://datalyst.directivesites.com/javascript:void(0); "Subscribe to updates from author") [  ](https://datalyst.directivesites.com/javascript:void(0);)   [  ](https://datalyst.directivesites.com/blog/blogger/daniel-mathieu)

Dan is a trusted IT advisor with a background of over 25 years in IT and continuously works on the challenges of putting the right people in place to drive business growth and customer satisfaction.

Author's recent posts

  [More posts from author](https://datalyst.directivesites.com/blog/blogger/daniel-mathieu)

 [ Friday, 31 July 2026  Are You Paying for Inactive Software? ](https://datalyst.directivesites.com/blog/are-you-paying-for-inactive-software)

 [ Wednesday, 29 July 2026  3 Reasons Why Storing Business Files Locally is Obsolete ](https://datalyst.directivesites.com/blog/3-reasons-why-storing-business-files-locally-is-obsolete)

 [ Tuesday, 28 July 2026  Combating Software Bloat and Cyber Risks ](https://datalyst.directivesites.com/newsletter-content/combating-software-bloat-and-cyber-risks)

 <a class="eb-anchor-link" data-allow-comment="1" id="comments" name="comments"> </a> Comments

  No comments made yet. Be the first to submit a comment

   **![Guest](https://datalyst.directivesites.com/media/com_easyblog/images/avatars/author.png)**   Already Registered? [Login Here](https://datalyst.directivesites.com/home/login-logout?return=aHR0cHM6Ly9kYXRhbHlzdC5kaXJlY3RpdmVzaXRlcy5jb20vYmxvZy90aXAtb2YtdGhlLXdlZWstaG93LXRvLXVzZS1leGNlbC10by1xdWlja2x5LWdlbmVyYXRlLWZvbGRlcnM=)

 Wednesday, 05 August 2026

  Subscribe to the blog (Please fill in your email address to subscribe to updates from this post.)

 **Captcha Image**
