快捷查看dll的PublicKeyToken

时间:2025-01-10 22:04:08
 @echo off

 d:

 cd D:\Win2003\Microsoft Visual Studio 10.0\VC\

 call vcvarsall.bat x86

 echo.

 if not '%1'=='' (

 echo %

 sn -T %

 )

 if not '%2'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%3'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%4'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%5'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%6'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%7'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%8'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 if not '%9'=='' (

 echo ----------------------------------------------------

 echo %

 sn -T %

 )

 echo.

 pause

复制以上代码建一个bat文件,直接将dll文件(最多9个文件)托放至此bat文件上。