- @echo off
- for /f "tokens=1,2 delims=[-]" %%i in (名称.txt) do (
- if exist "e:\备份\%%i\文本1.txt" (
- (for /f "usebackq tokens=1,2*delims=[]" %%a in ("e:\备份\%%i\文本1.txt") do (
- if "%%b"=="" (echo %%a) else if %%c =="" ( echo;%%j %%b ) else echo;%%a[%%j]%%c
- ))>$
- move $ "e:\备份\%%i\文本1.txt"
- )
- )
- pause
复制代码 回复 8# 小白来了 |