|I have 132 000 files I need to move and would like to move 100 at a time but after I have moved the first 100 another program must run.|
I have found the following script very usefull but it runs till alll files are sent and that is where I have got stuck
@echo off & setlocal EnableDelayedExpansion
for %%i in (*) do (
set /A N+=1
move "%%i" D:/MYDIRECTORY
if !N! geq !LIM! (TimeOut 60 & set /A LIM+=100)
Any advise will be appreciated.