WDMZ 当前离线
上等兵
评分人数
find 当前离线
少将
TOP
ivor 当前离线
上校
@echo off for /f "delims=" %%i in ('dir /b /ad') do ( for /f "delims=" %%a in (subdirect.txt) do ( md "%%i\%%a" ) )复制代码
注解:在当前的所有目中建立“1,2,3”3个文件夹 ivor 发表于 2012-1-9 17:05
@echo off for /f "delims=" %%a in ('dir /b /ad') do ( for /l %%h in (1,1,3) do ( md "%%a\%%h" ) )复制代码
@echo off for /f "delims=" %%i in ('dir /b /ad') do ( pushd %%i for /l %%a in (1,1,3) do ( md %%a ) popd )复制代码