I'll start off with noting that I'm completely new to batch processes. I've spent a couple hours trying to figure this out on my own (via the web) with no success. So now, to the experts. What I need to do should be pretty simple for most. 

I have 67,000+ files with the following naming convention `(acctnum_"A"_date_counter.filetype)`

> 
> 1. 4312A201410011.TXT
> 2. 4321A201410012.DOC
> 3. 120232A201512311.PDF
> 4. 135392A201601011.TXT
> 
> 
> 

I need to create folders based on the acctnum value, and then drop all files with that acctnum into the new folder. Each file is delimited with an "A" to separate the acctnum from the date and counter. The acctnum variable can be any number, and the length can be between 1 and 7.