Script to Move files into subfolders
Posted on 2005-04-14
I have a directory with over 30,000 files in it and windows explorer freaks out everytime I try to go into the directory.
My solution is to move every file in a folder by the first letter of the file name.
In other words, move all the files a*.* to C:\MYFILES\A and move b*.* to C:\MYFILES\B
I suppose I could write a 26 line batch script, one for every letter, and maybe another for characters and 10 more for numbers...but maybe somebody knows a cleaner way to do this?