Creating a bunch of directories for file storage using BATCH script

The other day I needed to create lots of directories for file storage with the following structure:

0/
    0/
        0/
        1/
        2/
        ...
        z/
    1/
        0/
        1/
        2/
        ...
        z/
    2/
        ...
    ...
    z/
        0/
        1/
        ...
1/
    0/
        0/
        1/
        ...

It is not so difficult to create these directories with a php or any other server side scripting language script, but I also made a simple BATCH script as a common Windows solution.

filestorage_bat

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>