Looking for a BAT file to MOVE files into new folders
Posted: 24 Dec 2014 11:08
It's been a long time since I've used DOS (except for getting games running via DOSBox), so I've forgotten almost everything I knew about DOS, but I'm hoping that someone on here will be kind enough to write a BAT file for me (to be run in a DOS window (i.e. not the games program DOSBox, but a Windows prompt box), please.
I'm looking for a BAT file that creates folders (inside the current folder) and moves a given number of files into each sub folder.
What I mean is, say I have a folder
d:\download\Doom\
with lots of .zip files in it, then I'd like a BAT file that I could put into that folder, run it and it would create a folder called
d:\download\Doom\1
and move twenty-five (or any other number, which is editable in the BATch file) files into that folder, the it would create
d:\download\Doom\2
and move twenty-five more files in to that folder, etc, until all of the files have been moved at which point the BATch file ends.
Thanks for any help.
I'm looking for a BAT file that creates folders (inside the current folder) and moves a given number of files into each sub folder.
What I mean is, say I have a folder
d:\download\Doom\
with lots of .zip files in it, then I'd like a BAT file that I could put into that folder, run it and it would create a folder called
d:\download\Doom\1
and move twenty-five (or any other number, which is editable in the BATch file) files into that folder, the it would create
d:\download\Doom\2
and move twenty-five more files in to that folder, etc, until all of the files have been moved at which point the BATch file ends.
Thanks for any help.