I need to create folders and relocate files to the folders based on the first eight characters of the filenames. The files will look like:
GG001652 - 5211_Infoscitex.xls
GG001652 - 5211- as of 7.31.12.pdf
GG001570 - 7575 FSR (3.31.2010).pdf
GG001570 - 7575_IC_6.30.12.xlsx
GG001570 - 7575_SF 425_6.30.12.xls
I'd like the batch to create two folders:
GG001622
GG001570
Each containing the files beginning with those 8 characters. File length and nomenclature is inconsistent, but the first 8 characters are standardized, and file types include .pdf, .doc, .docx, .xls, .xlsx and .msg
Spent a good few hours trying to modify Magoo's code in this post, but couldn't for the life of me get it to work:
Batch create folders based on part of file name and move files into that folder
Have a work deadline I need to meet, so greatly appreciate any help offered.