Tuesday, June 13, 2023

Create 100 Blank Folders in 1 Minute: A Time-Saving Guide

 Introduction:

In today's fast-paced digital world, efficiency and productivity are key factors in our daily lives. Whether you're organizing files for work, managing personal projects, or simply trying to keep your computer tidy, creating multiple folders quickly can save you valuable time. In this blog post, we will explore a simple method to create 100 blank folders in just one minute. Let's dive in! 

Step 1: Prepare Your Workspace

Before we begin, make sure you have a clutter-free workspace on your computer. Close unnecessary applications and clear your desktop to avoid any distractions. This will help you maintain focus and complete the task swiftly.

Step 2: Open Notepad and Start a New File

Open Notepad or your preferred text editor. Begin by creating a new file where we will write the batch script.

Step 3: Writing the Batch Script

Copy and paste the following code into your text editor:

 

@echo off

setlocal enabledelayedexpansion 

set "folder_names=Folder1 Folder2 Folder3 Folder4 Folder5 Folder6 Folder7 Folder8 Folder9 Folder10 Folder11 Folder12 Folder13 Folder14 Folder15 Folder16 Folder17 Folder18 Folder19 Folder20 Folder21 Folder22 Folder23 Folder24 Folder25 Folder26 Folder27 Folder28 Folder29 Folder30 Folder31 Folder32 Folder33 Folder34 Folder35 Folder36 Folder37 Folder38 Folder39 Folder40 Folder41 Folder42 Folder43 Folder44 Folder45 Folder46 Folder47 Folder48 Folder49 Folder50 Folder51 Folder52 Folder53 Folder54 Folder55 Folder56 Folder57 Folder58 Folder59 Folder60 Folder61 Folder62 Folder63 Folder64 Folder65 Folder66 Folder67 Folder68 Folder69 Folder70 Folder71 Folder72 Folder73 Folder74 Folder75 Folder76 Folder77 Folder78 Folder79 Folder80 Folder81 Folder82 Folder83 Folder84 Folder85 Folder86 Folder87 Folder88 Folder89 Folder90 Folder91 Folder92 Folder93 Folder94 Folder95 Folder96 Folder97 Folder98 Folder99 Folder100"

for %%i in (%folder_names%) do (

   md "%%i"

)

 

Step 4: Customize the Folder Names

In the batch script, you'll notice a variable called `folder_names`. This variable contains a list of folder names separated by spaces. Replace the default names with your desired folder names. Make sure to follow the same format, with each folder name followed by a space.

Step 5: Save the Batch Script

Save the file with a `.bat` extension, such as "create_custom_folders.bat". Ensure that you select "All Files" as the file type when saving.

Step 6: Run the Batch Script

Locate the saved `.bat` file and double-click on it to execute the batch script. The script will create the specified number of folders with the custom names you provided.

Note: When running the batch script, ensure that you have the necessary permissions to create folders in the desired directory.

 You can create as many folders as you want with the above method.

Let's check the command with an example.

1. I want to create 100 empty folders and give each folder a different name.

2. Write all names in Excel horizontally (from left to right).

3. If the names are vertical (top to bottom), use Excel's Transpose formula as shown in the image.





4. Now put all the names in one cell and separate each name with a space.

5. Use the Excel function "TEXTJOIN" for this. 


6. Open notepad and copy all the names and paste them between the code as shown.


7. Then change the file type to "All Files" and save the file as ".bat".



8. Locate the saved ".bat" file and double-click it to run the batch script. The script will create the specified number of folders with all the specified names. 



Conclusion:

By following these simple steps, you can quickly create as many blank folders as you want. This method allows you to save time and streamline your organizational tasks. Whether you're organizing files, categorizing projects, or simply creating placeholders, this efficient approach will help you maintain a clean and structured digital environment. Harness the power of automation and boost your productivity with this time-saving technique!

                              Click Here to Download latest MS Office


15 comments:

  1. Wow😍 from now on ,no struggles for creating multiple folders, thanka a lotπŸ˜‡

    ReplyDelete
  2. Thank you bro u r a lyf saviour

    ReplyDelete
  3. Kya baat hai sirrr

    ReplyDelete
  4. Maza aagya padh ke

    ReplyDelete
  5. Can we expect more such automation blog in future

    ReplyDelete
  6. The best code till now I've ever learnt, you are a genius

    ReplyDelete
  7. I want you to publish more such time saver codes in future

    ReplyDelete
  8. such an intelligent soul you're

    ReplyDelete
  9. Oh man! This is really something mind boggling

    ReplyDelete
  10. really really mind blowing

    ReplyDelete
  11. Lagta hai Guru chah gye πŸ˜‚πŸ˜‚πŸ˜‚

    ReplyDelete
  12. You are the saviour of excel users

    ReplyDelete
  13. OMG, ye to bhot hi achaa laga mujhe

    ReplyDelete