Recently I had a client who had a list of zip codes (Like everyone in the state of Massachusetts) he wanted to create folders of each zip code on this list. This could have taken some time but thanks to my awesome skills and some Google-Fu I was able to work out a solution to do this on FreeBSD and in the process found the commands to create directories from a .txt list on Windows and Macs.
In these examples we have a list of folder names in folders.txt and we run the below commands within the same directory as folders.txt to create folders from that list.
for /f %%i in (folders.txt) do mkdir %%i
On FreeBSD, Mac, & Linux
cat folders.txt | xargs mkdir