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;









5

















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.



enter image description here



Thank You!










share|improve this question









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


















5

















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.



enter image description here



Thank You!










share|improve this question









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














5












5








5








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.



enter image description here



Thank You!










share|improve this question









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.



enter image description here



Thank You!







windows-10 file-management numbering file-organization






share|improve this question









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.










share|improve this question









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.








share|improve this question




share|improve this question



share|improve this question








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


















  • 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











2 Answers
2






active

oldest

votes


















9


















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 (





share|improve this answer

































    2


















    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.






    share|improve this answer



























      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.









      draft saved

      draft discarded
















      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









      9


















      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 (





      share|improve this answer






























        9


















        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 (





        share|improve this answer




























          9














          9










          9









          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 (





          share|improve this answer














          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 (






          share|improve this answer













          share|improve this answer




          share|improve this answer



          share|improve this answer










          answered 10 hours ago









          harrymcharrymc

          288k16 gold badges308 silver badges627 bronze badges




          288k16 gold badges308 silver badges627 bronze badges


























              2


















              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.






              share|improve this answer






























                2


















                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.






                share|improve this answer




























                  2














                  2










                  2









                  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.






                  share|improve this answer














                  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.







                  share|improve this answer













                  share|improve this answer




                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  Adam PrescottAdam Prescott

                  8238 silver badges10 bronze badges




                  8238 silver badges10 bronze badges
























                      Safwan Abrar is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded

















                      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.




                      draft saved


                      draft discarded














                      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





















































                      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









                      Popular posts from this blog

                      Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                      Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                      François Viète Contents Biography Work and thought Bibliography See also Notes Further reading External links Navigation menup. 21Google Bookspp. 75–77Google BooksDe thou (from University of Saint Andrews)ArchivedGoogle BooksGoogle BooksGoogle BooksGoogle booksGoogle Bookscc-parthenay.frL'histoire universelle (fr)Universal History (en)ArchivedAdsabs.harvard.eduPagesperso-orange.frArchive.orgChikara Sasaki. Descartes' mathematical thought p.259Google BooksGoogle BooksGoogle Bookspp. 152 and onwardGoogle BooksGoogle BooksScribd.comGoogle Books1257-7979Google BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGallica.bnf.frGoogle BooksGoogle Books"François Viète"Francois Viète: Father of Modern Algebraic NotationThe Lawyer and the GamblerAbout TarporleySite de Jean-Paul GuichardL'algèbre nouvelle"About the Harmonicon"cb120511976(data)1188044800000 0001 0913 5903n82164680ola2013766880073431702w6vt1sb70287374827140948071409480