BATCH SCRIPT TO MAKE FOLDER AND MULTIPLE SUBFOLDER AUTOMATICALLY

in OCD6 years ago

This article will help you create a folder and desired numbers of subfolders inside that folder.
For example, if you need to create folders like Day1, Day 2 ..... Day 100. This is the right post.

To perform this you will need very basic computer skills only.

  • Create a file named makefolder.cpp [cpp is extension for c++]

Screen Shot 2020-05-16 at 9.53.34 PM.png

  • Another file with name hello with no extension which will be our executable.

Screen Shot 2020-05-16 at 9.53.20 PM.png

  • Change the directory as per your requirement. (Second picture)

After running the executable hello
Follow the commands
Screen Shot 2020-05-16 at 9.59.29 PM.png

Result:

Screen Shot 2020-05-16 at 10.00.39 PM.png

Any questions? Please leave comments.