September 29, 2005

Use strings to get Windows file properties

Windows 下有些檔案(如安裝程式)的內容會有一些公司名稱、版本等資訊
Linux 下可以用 strings 來取得這些資訊
例: 取得 Skype 安裝程式的檔案資訊
# strings -e l SkypeSetup.exe | grep -A20 CompanyName
CompanyName
Skype Software S.A.
FileDescription

FileVersion
1.4.0.71
InternalName
OriginalFilename
ProductName
ProductVersion
VarFileInfo
Translation

Posted by pank at September 29, 2005 05:31 PM
Comments
Post a comment













Remember personal info?