8926999 当前离线
列兵
pcl_test 当前离线
荣誉版主
TOP
DAIC 当前离线
中将
@echo off for /r "D:\" %%i in (.) do ( if "%%~ni" equ "8" ( move /y "%%~fi\*.*" "%%~dpi" ) )复制代码
@echo off for /f "delims=" %%a in ('dir /ad /b /s "D:\"') do ( if "%%~na" == "8" ( move "%%a\*.*" "%%a\.\.." rem rd "%%a\" /q ) ) pause复制代码