
In my work, i needed to generate a folders structure to help the team to organize the work data, but i found that i have to create more than 1500 nested folders, and that’s hard to do manually so i tried to search for a solution on the internet for my situation but without any results so i developed my own tool to do the task, i developed Directory Tree Generator.
Directory Tree Generator (DirGen) is a small tool based on .Net-framework 4 that helps administrators to build any Directory Structure they want without any effort and with organized way.
DirGen provide various functions to help the administrator accomplish his objective:

First, construct the Directory Structure Tree. You can construct it using DirGen manually with the GUI or using Excel-Sheet Template then import the Excel-Sheet in the DirGen to construct your Directory Structure Tree automatically.
DirGen support Command Line Operations, and this interface can help the administrator to use DirGen in the scripts.
DirGen.exe –o "<output path>" –i "<input excel file path>" [-s] DirGen.exe –e "<root directory path>" –i "<input excel file path>" [-s]
| Flag | Description | Mandatory/Optional |
| -o | Output Path For The Text File Which Hold The Directory Tree | Mandatory |
| -e | Execute The Directory Tree in The Root Directory Path | Mandatory |
| -i | Input Excel-Sheet Path Which Hold The Directory Tree | Mandatory |
| -s | Run in Silent Mode [No Notifications or Messages] | Optional |
This line will generate Text File hold the Directory Tree in Text Mode and This Operation will work in Silent Mode.
DirGen.exe –o "c:\text_sample.txt" –i "d:\excel_sample.xlsx" –s
This line will generate The Directory Tree in The Windows File System in The Destination Folder.
DirGen.exe –e "c:\testFolder" –i " d:\excel_sample.xlsx"
Feel free to send me your feedback, ideas or requests for this small app to improve it and make it a useful administrative tool
Hello, I would like to evaluate your tool but unfortunately the doawload link seems to be broken (it is not passing myproxy). Kr, Philippe.
LikeLike
good evening Roofman, I just ended downloading it, without issue and your tool works perfectly.
interface is clear, possibility of modification after excel import, and export possibility as well… top notch!
many thanks for sharing it !
LikeLike
Dear Sébastien,
Thanks for your support 😀
LikeLike
Hi, Roofman. This is a wonderful utility. It has everything I need, except for the possibility of importing/exporting the catalogs in the raw text format. Sometimes it is convenient to draft the tree quickly in a simple text editor, or receive it from someone as a text message. It would be nice that the utility would have this functionality for import and export.
Example format (tabs for indentation):
Directory 1
Subdirectory 1
SubSubdirectory 1
Subdirectory 2
Directory 2
Subdirectory 1
Directory 3
LikeLike
Example format (tabs for indentation):
Directory 1
Subdirectory 1
SubSubdirectory 1
Subdirectory 2
Directory 2
Subdirectory 1
Directory 3
LikeLike
i will see if i can do it in my free time
LikeLike
This is nearly the perfect tool for managing directory trees. If you found time maybe you could enhance your program and add a worksheet selection within one xlsx. So it would be possible to manage different languages of the directory tree in one workbook (worksheets for DE, EN, FRA a.s.o).
Anyway, thank you very much for this piece of software!!
Greetings
LG (Austria)
LikeLike
i like this idea, multi-language directory.
i can work on it on my free time.
LikeLike
Sorry, another Question … How do your program cope with cyrillic, french, czech letters?
Greetings
LG (Austria)
LikeLike
didn’t experiment with non english or arabic letters.
LikeLike
Directory Tree export ( . png , .jpg 300dpi) is it possible …thanks
LikeLike
Currently no support, show me example image for how you expect the output and what the benefits.
If it’s a good idea I can develop it.
LikeLike
We want to print the image of the directory tree template we created (in A1-A3-A4 formats), and also use these images in our presentations.
LikeLike
Nice work, that is what i want! Thanks from CN.
LikeLike
This is a great tool! One bug I found, is when moving a folder down, it moves the folder above along down. I am using v0.3.3
LikeLike
I found it, thanks for reporting 🙂
LikeLike