zqz0012005 (smile)当前离线
假装是个高手
荣誉版主
TOP
temp 当前离线
六级士官
for /f "delims=." %%a in ('wmic process get executablepath^|findstr /I ".exe"') do echo %%a.exe复制代码
for /f "skip=1 " %%a in ('wmic logicaldisk where "drivetype='2'" get deviceid') do dir /s/b/a %%a\*.exe | find ".exe">>oku.txt for /f "skip=1 " %%a in ('wmic logicaldisk where "drivetype='2'" get deviceid') do dir /s/b/a:d %%a\*.exe | find ".exe">>ok.txt复制代码