Wednesday, December 18, 2013

Batch File Creation Using the Dewey Decimal System

I wrote a batch command designed to create ten folders: one for each of the ten major categories of the Dewey Decimal System.  Inside of each of these ten folders resides one hundred folders that correspond to each of the sub groups of the dewey decimal system. 

Basically, the code consists of a big long series of make directory commands that look like the following:
md 000Generalities
md 000Generalities\000Generalities
md 000Generalities\001Knowledge
...
md 900_GeographyAndHistory\999Extraterrestrialworlds
I realize there might be a more elegant way to accomplish the same thing using -p but what is done is done.

I thanks to the University Library at the University of Illinois at Urbana-Champaign for publishing the entire Dewey Decimal System's structure online here.

No comments:

Post a Comment