Hey Andrew,
You may want to take a look at this: Automate Folder structure.
-Chris
For more information, see the wiki Searching the Forum for Answers section.