[ Last edited by HAT on 2009-1-17 at 23:52 ]作者: cad55 时间: 2009-1-15 10:48 请各位朋友指点一下。。。。作者: netbenton 时间: 2009-1-16 14:08 @echo off&setlocal enabledelayedexpansion
for /f %%a in ('dir /a-d /b') do (
set c=0
call :sub %%a
if !c!==1 echo %%a
)
pause
:sub
set a=%*
:loop
set a=!a:~1!
if not defined a goto :eof
set b=!a:~0,1!
if "!b!" gtr "z" (set c=1)