Today I’m planning to make more than ten posts in a row, hehe
You all think I only know how to write special effects, right? I’ll post a few application-type ones later.
It’s just that they’re all small little things, nothing special (so I don’t even dare post them...)
[ Last edited by 523066680 on 2008-12-19 at 14:01 ]
You all think I only know how to write special effects, right? I’ll post a few application-type ones later.
It’s just that they’re all small little things, nothing special (so I don’t even dare post them...)
@echo off &rem code by 523066680@cn-dos.net
set x=bat
if not exist *.%x% (echo,no %x% file exists &pause>nul &exit)
for /f "tokens=*" %%a in ('dir /os /b *.%x%') do (
for /f "tokens=3*" %%b in ('dir "%%a" ^|find "%%a"') do (
if not defined yes (set yes=defiend &echo,current smallest %x% file %%b bytes %%c)
set big=current largest %x% file %%b bytes %%c
)
)
echo %big%
pause>nul
[ Last edited by 523066680 on 2008-12-19 at 14:01 ]
