Script for creating directories and subdirectories on SBS 2008
        Posted  
        
            by 
                Rich Piedmont
            
        on Super User
        
        See other posts from Super User
        
            or by Rich Piedmont
        
        
        
        Published on 2010-12-31T18:24:54Z
        Indexed on 
            2010/12/31
            18:55 UTC
        
        
        Read the original article
        Hit count: 232
        
I have a small business server 2008 and have a directory named LAWFILES. I have a 6 digit file system (eg 106568) and I create a directory to store anything to do with the file (documents, outlook emails, PDFs, WAV files, ect.) I group 100 files in a 4 digit directory (eg 1065) for quicker access. My new years resolution is to organize these directories. I used to have a script the batch created directories and sub directories but it didn't work the last time I tried it (2 years ago). I would like to run a batch file that would ask for the 4 digit directory name (eg 1065) and then create that directory and 100 subdirectories (106500 - 106599) each of which contained subdirectories named "Documents," "Correspondence" & "Email-Voicemail"
Can anyone suggest where I would go to find a scripting language that would be available to accomplish this?
Thanks for the Help. Rich Piedmont
© Super User or respective owner