Batch File-Move the first 100 file

February 16, 2011 at 06:21:48
Specs: Windows XP
How will i create a batch file that will move the 1st 100 files from folderA to folderB then loop again then move the 1st 100 files to folderC then so on and so forth.Hope anyone could help me.



See More: Batch File-Move the first 100 file

Report •

#1
February 16, 2011 at 16:34:59
How many files in the original folder (folder A) or does the script have to detect that?

Did you Google for an answer before asking the question?


Report •

#2
February 16, 2011 at 18:41:53
you will also have to mention the max number of files ,the loop can count the files from 1-100 and then change the destination folder name to folder b for 101-200 and so on but i dont think it will able to increase the folder name (A-B-C and so on) the helper will have to write the code manuallly.

Subhash Chandra.


Report •
Related Solutions


Ask Question