Please search before posting. There's a current topic dealing with this.
[Create Folders/Name FOlders From Selected Files?)