I need an automatic way of making a lot of foldersWindows 7 Ultimate x64 alternative Programs directoryOrganizing documents in a big hierarchyWindows 2012R2 move folders users, ProgramData, ProgramFiles to the Dsort audio files from photo filesMove files into a folder based on their nameWindows 10 update 1803 renamed the user account folder with .000 suffixNeed Windows script to create folders named with file dates and move files to the matching folderFind folders pinned to Quick Access when saving/loading in programs such as CutePDF an Autocad (Windows 10)
Is there a historical explanation as to why the USA people are so litigious compared to France?
Is there a push, in the United States, to use gender-neutral language and gender pronouns (when they are given)?
Email suggestion for a rogue email from my manager
Usefulness of Nash embedding theorem
Why do adjectives come before nouns in English?
Did Terry Pratchett ever explain the inspiration behind Luggage?
If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?
Why isn't Hagrid removed from Hogwarts sooner in Harry's would-be 7th year?
Translation of: 美しいと思ってしまったのだ
Interpret a date from a string of digits
How do I reset the TSA-unlocked indicator on my lock?
Self-inflicted killing utility
Should I avoid "big words" when writing to a younger audience?
Can digital computers understand infinity?
I got this nail stuck in my tire, should I plug or replace?
How can a "proper" function have a vertical slope?
Front hydraulic disk brake is too powerful on MTB — solutions?
What Apple System Monitor/Integer BASIC ROM features were removed in the Applesoft II/Autostart ROM?
Would preaching in a church be advantageous for becoming a lecturer?
Milk instead of water in bread
When did MCMC become commonplace?
Is a list of the most common English words copyrightable?
Hero battle game
Why is technology bad for children?
I need an automatic way of making a lot of folders
Windows 7 Ultimate x64 alternative Programs directoryOrganizing documents in a big hierarchyWindows 2012R2 move folders users, ProgramData, ProgramFiles to the Dsort audio files from photo filesMove files into a folder based on their nameWindows 10 update 1803 renamed the user account folder with .000 suffixNeed Windows script to create folders named with file dates and move files to the matching folderFind folders pinned to Quick Access when saving/loading in programs such as CutePDF an Autocad (Windows 10)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Ok so i need like 100+ folder named like such: "ch.000, ch.001, ch.002, etc" in this case i need it to go up to "ch.094" but I will need to create more folders later that may be more or less folders, but definitely between 000-999. I don't know anything about programming, so please guide me through it.
Here is an example of what I need to do.

Thank You!
windows-10 file-management numbering file-organization
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
Ok so i need like 100+ folder named like such: "ch.000, ch.001, ch.002, etc" in this case i need it to go up to "ch.094" but I will need to create more folders later that may be more or less folders, but definitely between 000-999. I don't know anything about programming, so please guide me through it.
Here is an example of what I need to do.

Thank You!
windows-10 file-management numbering file-organization
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago
add a comment
|
Ok so i need like 100+ folder named like such: "ch.000, ch.001, ch.002, etc" in this case i need it to go up to "ch.094" but I will need to create more folders later that may be more or less folders, but definitely between 000-999. I don't know anything about programming, so please guide me through it.
Here is an example of what I need to do.

Thank You!
windows-10 file-management numbering file-organization
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Ok so i need like 100+ folder named like such: "ch.000, ch.001, ch.002, etc" in this case i need it to go up to "ch.094" but I will need to create more folders later that may be more or less folders, but definitely between 000-999. I don't know anything about programming, so please guide me through it.
Here is an example of what I need to do.

Thank You!
windows-10 file-management numbering file-organization
windows-10 file-management numbering file-organization
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 8 hours ago
Moab
52.5k14 gold badges98 silver badges161 bronze badges
52.5k14 gold badges98 silver badges161 bronze badges
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 10 hours ago
Safwan AbrarSafwan Abrar
293 bronze badges
293 bronze badges
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Safwan Abrar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago
add a comment
|
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago
add a comment
|
2 Answers
2
active
oldest
votes
Create a .bat file inside the folder in which to create these sub-folders,
and copy inside the following text:
@echo off
setlocal enableDelayedExpansion
FOR /l %%N in (1,1,94) do (
set "NUM=00%%N"
set "DIRNAME=ch.!NUM:~-3!
md !DIRNAME!
)
Double-click the .bat file and it will create the required chapters.
In the future, if you wish to create for example numbers 95 to 110,
just change the FOR line to:
FOR /l %%N in (95,1,110) do (
add a comment
|
Here's a one-line PowerShell script:
for ($i=1; $i -lt 95; $i++) $name = [string]::Format("ch.0", $i.ToString("000")); New-Item -Path "c:sourcetemp" -Name $name -ItemType "directory"
Assuming you're on Windows, you can do Start > Run > "powershell.exe" > OK, then copy/paste this to the command line.
Note that you'll want to change c:sourcetemp to the directory where you want the folders, and you can adjust the range to be created by adjusting the values in the for statement, where you see 1 and 95.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "3"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1490223%2fi-need-an-automatic-way-of-making-a-lot-of-folders%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create a .bat file inside the folder in which to create these sub-folders,
and copy inside the following text:
@echo off
setlocal enableDelayedExpansion
FOR /l %%N in (1,1,94) do (
set "NUM=00%%N"
set "DIRNAME=ch.!NUM:~-3!
md !DIRNAME!
)
Double-click the .bat file and it will create the required chapters.
In the future, if you wish to create for example numbers 95 to 110,
just change the FOR line to:
FOR /l %%N in (95,1,110) do (
add a comment
|
Create a .bat file inside the folder in which to create these sub-folders,
and copy inside the following text:
@echo off
setlocal enableDelayedExpansion
FOR /l %%N in (1,1,94) do (
set "NUM=00%%N"
set "DIRNAME=ch.!NUM:~-3!
md !DIRNAME!
)
Double-click the .bat file and it will create the required chapters.
In the future, if you wish to create for example numbers 95 to 110,
just change the FOR line to:
FOR /l %%N in (95,1,110) do (
add a comment
|
Create a .bat file inside the folder in which to create these sub-folders,
and copy inside the following text:
@echo off
setlocal enableDelayedExpansion
FOR /l %%N in (1,1,94) do (
set "NUM=00%%N"
set "DIRNAME=ch.!NUM:~-3!
md !DIRNAME!
)
Double-click the .bat file and it will create the required chapters.
In the future, if you wish to create for example numbers 95 to 110,
just change the FOR line to:
FOR /l %%N in (95,1,110) do (
Create a .bat file inside the folder in which to create these sub-folders,
and copy inside the following text:
@echo off
setlocal enableDelayedExpansion
FOR /l %%N in (1,1,94) do (
set "NUM=00%%N"
set "DIRNAME=ch.!NUM:~-3!
md !DIRNAME!
)
Double-click the .bat file and it will create the required chapters.
In the future, if you wish to create for example numbers 95 to 110,
just change the FOR line to:
FOR /l %%N in (95,1,110) do (
answered 10 hours ago
harrymcharrymc
288k16 gold badges308 silver badges627 bronze badges
288k16 gold badges308 silver badges627 bronze badges
add a comment
|
add a comment
|
Here's a one-line PowerShell script:
for ($i=1; $i -lt 95; $i++) $name = [string]::Format("ch.0", $i.ToString("000")); New-Item -Path "c:sourcetemp" -Name $name -ItemType "directory"
Assuming you're on Windows, you can do Start > Run > "powershell.exe" > OK, then copy/paste this to the command line.
Note that you'll want to change c:sourcetemp to the directory where you want the folders, and you can adjust the range to be created by adjusting the values in the for statement, where you see 1 and 95.
add a comment
|
Here's a one-line PowerShell script:
for ($i=1; $i -lt 95; $i++) $name = [string]::Format("ch.0", $i.ToString("000")); New-Item -Path "c:sourcetemp" -Name $name -ItemType "directory"
Assuming you're on Windows, you can do Start > Run > "powershell.exe" > OK, then copy/paste this to the command line.
Note that you'll want to change c:sourcetemp to the directory where you want the folders, and you can adjust the range to be created by adjusting the values in the for statement, where you see 1 and 95.
add a comment
|
Here's a one-line PowerShell script:
for ($i=1; $i -lt 95; $i++) $name = [string]::Format("ch.0", $i.ToString("000")); New-Item -Path "c:sourcetemp" -Name $name -ItemType "directory"
Assuming you're on Windows, you can do Start > Run > "powershell.exe" > OK, then copy/paste this to the command line.
Note that you'll want to change c:sourcetemp to the directory where you want the folders, and you can adjust the range to be created by adjusting the values in the for statement, where you see 1 and 95.
Here's a one-line PowerShell script:
for ($i=1; $i -lt 95; $i++) $name = [string]::Format("ch.0", $i.ToString("000")); New-Item -Path "c:sourcetemp" -Name $name -ItemType "directory"
Assuming you're on Windows, you can do Start > Run > "powershell.exe" > OK, then copy/paste this to the command line.
Note that you'll want to change c:sourcetemp to the directory where you want the folders, and you can adjust the range to be created by adjusting the values in the for statement, where you see 1 and 95.
answered 1 hour ago
Adam PrescottAdam Prescott
8238 silver badges10 bronze badges
8238 silver badges10 bronze badges
add a comment
|
add a comment
|
Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.
Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.
Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.
Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1490223%2fi-need-an-automatic-way-of-making-a-lot-of-folders%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
this is a repost cuz the other one had a line that sounded rude and it got downvoted, I didn't mean for it to be rude tho, sorry
– Safwan Abrar
10 hours ago
Use Cygwin. It's free and open source software.
– 174140
10 hours ago
Do not use Cygwin, it's terrible.
– OrangeDog
4 mins ago