Batch generate folders with multi-level nested structure

I have a table with the names of a batch of folders, and I want to generate a batch of folders quickly, accurately, and in batches. If you have patience, of course you can build one by one. If there is only one layer of folders and there is no nesting phenomenon, then it is very simple, and the method is easy to find on the Internet. If there are many folders, and there are multi-level subfolders nested in them, it will be very troublesome. I didn't find a better way, so I wrote a program to solve it.

1. First, copy the file name in the table to the txt file. The naming format is as shown in the figure below:

2. Write the program. The program is written in python, C, and C#, and the source code and running program can be downloaded from CSDN:

Create folders in batches: Generate folders in batches

3. The program interface is as follows:

4. The effect is as follows:

Guess you like

Origin blog.csdn.net/qq_28249373/article/details/103528615