@echo off
setlocal enabledelayedexpansion
for /f "岩裂源skip=1 tokens=1,2 delims=\粗态" %%a in ('fsutil fsinfo drives^|find /v "源滑"') do (
set aa=%%a
set aa=!aa:~-2!
for /f "tokens=1 " %%i in ('fsutil fsinfo drivetype !aa! ^|find "固定"') do (
dir /b /s %%i\我的文档*>>0.txt
)
)
type 0.txt