查看 dll 是32位还是64位 的 bat

*******

@echo off
set work_path=./
cd %work_path%

for /R %%s in (*.dll) do (
echo %%~nxs
call dumpbin /headers %%~nxs >> dumpbin.txt
)

 

*******

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set work_path=./
cd %work_path%
for /R %%i in (*.dll) do (
set var=%%i
echo !var!
call dumpbin /headers !var! >> dumpbin.txt
)

 

posted @ 2017-11-28 12:16  雪域蓝心  阅读(192)  评论(0编辑  收藏  举报