Page 1 of 1

move files by size

Posted: 18 Dec 2017 09:00
by joe
hi

Back again with a small request

I have a list.txt file which has the size range of .log files
ie .. 10-100
100-1000
2000-10000

can someone help me with a batch script to sort these .log files as per the list
and move into a separate folder created as 10, 100, 2000 and so on

source c:\logs
dest E:\sorted

please help
thanx in advance..

Re: move files by size

Posted: 18 Dec 2017 10:12
by Squashman
Remember in math class back when you were a kid and you didn't put a label on your number to tell the teacher how many of what it was.