thp2008 当前离线
六级士官
qixiaobin0715 当前离线
大校
@echo off for /f "delims=" %%a in (扩展名.txt) do set %%a=0 for /f "delims=" %%i in ('dir /a-d /b /s') do ( if not defined %%~xi ( echo,%%~xi set %%~xi=0 ) ) pause复制代码
TOP
WHY 当前离线
上校
@echo off PowerShell "dir 'E:\Test' -Recurse -Force -Exclude @((gc 扩展名.txt) -replace '^', '*') | ?{$_ -is [IO.FileInfo]} | group Extension | forEach{$_.Name}" pause复制代码
Fit 当前离线
二级士官
idwma 当前离线
少校
@echo off for /f "delims=" %%i in (扩展名.txt) do set %%i=0 for /f "delims=" %%i in ('dir /a-d /b /s "一个目录"') do if not defined %%~xi set %%xi=1 for /f "delims==" %%i in ('set .^|findstr "=1"') do echo;%%i pause复制代码