This is something that 4WD already wrote about a year ago and i have used it as needed on a Windows 7 system. But i cannot get it to work for some reason on windows 10 with the same requirements.
It should be as simple as a one liner (or maybe 2)
In a given directory there are sub-folders named "A" to "Z". In this same directory many people just dump their files without alphabetically filing them.
This little batch script just went through the loose files in the folder, extracted the first letter of any file it found and moved that file to the correct folder based on its first letter.
So "C:\Lots-Of-Files\Smith, Adam.txt" would get moved into "C:\Lots-Of-Files\S\Smith, Adam.txt" with the overwrite switch to ON and no permission asking.
the "A"to "Z" sub folders are already there and in that same directory. It would be preferable to just set the variables to be run from the local directory
(of course the ends up moving the bat file too but that is OK, i name it "ZZfiler.bat" so I know where to go get it next time i need it
anyway, 4WD's solution was a little more complex as it would even create the alphabetic sub-folders when needed which is not really required as every directory i have to use this on already has A to Z in it. And like I said, it worked fine on Win7 but on Win 10 it just blinks and does nothing.?
It should be as simple as a one liner (or maybe 2)
In a given directory there are sub-folders named "A" to "Z". In this same directory many people just dump their files without alphabetically filing them.
This little batch script just went through the loose files in the folder, extracted the first letter of any file it found and moved that file to the correct folder based on its first letter.
So "C:\Lots-Of-Files\Smith, Adam.txt" would get moved into "C:\Lots-Of-Files\S\Smith, Adam.txt" with the overwrite switch to ON and no permission asking.
the "A"to "Z" sub folders are already there and in that same directory. It would be preferable to just set the variables to be run from the local directory
(of course the ends up moving the bat file too but that is OK, i name it "ZZfiler.bat" so I know where to go get it next time i need it

anyway, 4WD's solution was a little more complex as it would even create the alphabetic sub-folders when needed which is not really required as every directory i have to use this on already has A to Z in it. And like I said, it worked fine on Win7 but on Win 10 it just blinks and does nothing.?











