Legend_Kun 当前离线
列兵
set "FileName=123.bat" for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %%a:\nul ( pushd %%a:\ for /r %%b in ("*%FileName%") do ( if /i "%%~nxb" equ "%FileName%" ( echo.%%b ) ) ) )复制代码
weichenxiehou 当前离线
上尉
set "FileName=123.bat" for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %%a:\nul ( pushd %%a:\ for /r %%b in ("*%FileName%") do ( if /i "%%~nxb" equ "%FileName%" ( echo.%%b&exit/b ) ) ) )复制代码
TOP
tangqingfu 当前离线
少尉