回复 3# kokoxx
- @echo off
- rem 批处理保存为ansi编码格式
- set "a=d:\a"
- set "b=e:\b"
- echo 请输入数字选项:
- echo=
- for /l %%l in (1,1,9) do (
- for /l %%k in (1,1,9) do (
- if exist "%a%\L%%lP%%k.sav" (
- echo 【%%l%%k】[31m用L%%lP%%k.sav覆写x.sav[0m
- for /f "tokens=1* delims=:" %%a in ('find "说明%%l%%k:" ^<"%~f0"') do (
- echo [32m说明:%%b[0m
- )
- )
- )
- )
- set /p n=请输入数字选项:
- set l=%n:~0,1%
- set k=%n:~1,1%
- if exist "%a%\L%l%P%k%.sav" (
- copy "%a%\L%l%P%k%.sav" "%b%\x.sav"
- )
- pause
- exit
- rem 说明写在下方
- 说明11:xxxxx
- 说明12:yyyyy
复制代码
|