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.
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







Wowπ from now on ,no struggles for creating multiple folders, thanka a lotπ
ReplyDeleteThank you bro u r a lyf saviour
ReplyDeleteKya baat hai sirrr
ReplyDeleteBest trick ever
ReplyDeleteMaza aagya padh ke
ReplyDeleteCan we expect more such automation blog in future
ReplyDeleteThe best code till now I've ever learnt, you are a genius
ReplyDeleteI want you to publish more such time saver codes in future
ReplyDeletesuch an intelligent soul you're
ReplyDeleteOh man! This is really something mind boggling
ReplyDeleteAstonishing!!!!
ReplyDeletereally really mind blowing
ReplyDeleteLagta hai Guru chah gye πππ
ReplyDeleteYou are the saviour of excel users
ReplyDeleteOMG, ye to bhot hi achaa laga mujhe
ReplyDelete