terse 当前离线
中将
@echo off&setlocal enabledelayedexpansion set a=*.jpg set b=0%a%* for %%i in (a b) do ( for /f %%j in ('dir /a-d /b "!%%i!" 2^>nul^|find /v /c ""') do set N_%%i=%%j ) set /a N=N_a-N_b echo %N% pause复制代码
TOP
dir /a-d /b *.jgs |findstr /bv "0"|find /v /c ""复制代码