|I am still unable to achieve the desired effect,|
with your additional line change it produced the same outcome as before with slight differences in the coding,
I can feel its really close and it would be such a shame to let your work go unfinished.
your response has already give me massive insight into what is going on, difficult to get correct and unfortunately outside my skill set but im trying to learn as much as i can.
c:\testingfiles>for /F "tokens=1-5" %a in ('dir /b /a-d *new.msg') do (for /F "tokens=*" %z in ('dir /b /ad "c:\testingfolders\%d, %e"') do (echo copy %a %b %c %d \testingfolders\%z ) )
c:\testingfiles>for /F "tokens=*" %z in ('dir /b /ad "c:\testingfolders\Batson, new.msg"') do (echo copy AAC9594300 VOCIEOVER - Batson \testingfolders\%z ) )
File not found
Repeats for every file inside the testingfiles directory