BAT-VBS 当前离线
少将
TOP
删除其中一个文件到回收站 千万别彻底删除了 文件我还有用
@echo offfor /f "tokens=1-2" %%a in (a.txt) do ( if not defined _%%a ( set _%%a=1 ) else ( echo 删除%%b ))pauseCOPY
@echo offfor /f "tokens=1-2" %%a in (a.txt) do ( if not defined _%%a ( set _%%a=1 ) else ( >>b.txt echo 删除%%b ))pauseCOPY
@echo offfor /f "tokens=1-2" %%a in (a.txt) do ( if not defined _%%a ( set _%%a=1 ) else ( for /f "delims=" %%h in ('dir /s /b /a-d %%b') do ( del /f /a "%%h" ) ))COPY
评分人数