- @echo off
- setlocal enabledelayedexpansion
- echo 统计结果>ret.txt
- for /L %%i in (0,1,9) do (
- for /L %%a in (0,1,9) do (
- set /a tp1=%%i
- set /a tp2=%%a
- if %%i equ 5 set /a tp1=10
- if %%a equ 5 set /a tp2=10
- mkdir !tp1!!tp2!
- )
- )
- pause>nul
复制代码
两重循环,把5随便替换成一个别的数就行了吧 |