查看 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
)