guanqi945a 当前离线
列兵
qixiaobin0715 当前在线
大校
@echo off for %%a in (112 113 114 115 116 117 118-119 120 121-125 126) do ( for /f "tokens=1* delims=-" %%i in ("%%a") do ( if "%%j"=="" ( md 00%%i ) else ( md 00%%i-00%%j ) ) ) pause复制代码
TOP
77七 当前离线
中校
00118-0019
@echo off setlocal enabledelayedexpansion for /f "tokens=1* delims=-" %%i in (1.txt) do ( if "%%j"=="" ( set str=0000%%i md !str:~-5! ) else ( set str1=0000%%i set str2=0000%%j md !str1:~-5!-!str2:~-5! ) ) pause复制代码