China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 11:25
中国DOS联盟论坛 » 网络日志(Blog) » temporarily store View 3,308 Replies 1
Original Poster Posted 2008-09-11 21:41 ·  中国 广东 茂名 电信
初级用户
Credits 42
Posts 23
Joined 2006-02-13 04:23
20-year member
UID 50270
Status Offline
```
@echo off
rem SoExp 0.1 By ALLyeSNO
rem http://hi.baidu.com/allyesno/
cls
setlocal enabledelayedexpansion
set num=0
title SoExp^ : Search for all possible overflowed exe/dll and other files^ ; http://hi.baidu.com/allyesno/
if "%1"=="" (
echo Usage : soexp path filename size
echo.
echo Example 1 : soexp c:\ gdiplus.dll ^( Search all gdiplus.dll on C drive ^)
echo Example 2 : soexp c:\ gdiplus.dll 1712128
echo ^( Search all gdiplus.dll on C drive and mark files with mismatched sizes of 1712128 Byte^)
echo Example 3 : soexp c:\ gdiplus.dll^>^>log.txt
echo ^( Search all gdiplus.dll on C drive and record results in log.txt ^)
goto :eof
)
echo Symbol comments : ㊣ File size matches ; ☆ File size does not match ; → Size parameter not used
echo.
if "%3"=="" set size=→
for /r %1 %%i in (%2*) do (
set/a num+=1
if not "%3"=="" set size=㊣
if not "%%~zi"=="%3" if not "%3"=="" set size=☆
echo !size!!num!.Byte : %%~zi %%i
set lines=0
for /f %%j in ('dir %%i/tc') do (
set/a lines+=1
if "!lines!"=="4" echo BornTime : %%j
)
)
```
我是allyesno 帐号忘记密码了 妈的
Floor 2 Posted 2008-09-12 20:20 ·  中国 广东 茂名 电信
初级用户
Credits 42
Posts 23
Joined 2006-02-13 04:23
20-year member
UID 50270
Status Offline
我是allyesno 帐号忘记密码了 妈的
Forum Jump: