
CODE: [Copy to clipboard][ Last edited by lotus516 on 2007-1-17 at 11:50 AM ]@echo off
setlocal enabledelayedexpansion
for /l %%i in (1,1,20) do md e:\11\%%i
set /a wjj=1
:top
dir /a-d/b/on *.jpg>1.txt
set /a num=0
for /f %%j in (1.txt) do (
if !num! EQU 100 set /a wjj+=1 && goto top
set /a num+=1
move %%j e:\11\!wjj!\
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |