View Single Post
Old 24th May 2009, 18:46   #3
nsnb
Senior Member
 
Join Date: Jul 2008
Posts: 157
Thanks, Pidgeot. I was actually looking for a shortcut that doesn't involve a programming mini-project. I just came up with a one-liner that seems to work. I am posting it here for the benefit of all:
code:
strings -e l mywindowsinstaller.exe | sed -e :a -e '/FileVersion$/N; s/FileVersion\n/FileVersion /; ta' | grep FileVersion | cut -d ' ' -f 2


nsnb is offline   Reply With Quote