copy a bunch of files on a home windows server where first 6 characters equal the folder into the fo

I have a simple windows computer windows 7 pro. Its our little cheap server. I have a bunch of file names that are for example file1,file2,file2a,file2b,file3 etc... Then I have a bunch of folders. file1, file2, file3, file4 etc..

What I want to do is copy every file into the same folder name. but only do the first so many characters that way everything with file2 will go into the folder file2.

Is there any way to do this with command prompt or is there some program out there?

thanks

from Site & Server Administration http://ift.tt/1OMuqwI
via IFTTT
Previous
Next Post »
Thanks for your comment