On Wed, 19 Jan 2005, Jason Tishler wrote: > Jaye, > > On Tue, Jan 18, 2005 at 07:15:09PM -0500, Jaye Speaks wrote: > > does anyone know of a shell program to retrieve the property info from > > windows files. I need info like the fileversion or prodversion. > > No, so I wrote my own: > > $ version 'C:\Program Files\Microsoft Office\OFFICE11\WINPROJ.EXE' > Required Information: > ProductVersion = 11.0.2003.816 > FileVersion = 11.0.2003.816 > Optional Information: > > $ cygversion /mnt/c/Program\ Files/Microsoft\ Office/OFFICE11/WINPROJ.EXE > Required Information: > ProductVersion = 11.0.2003.816 > FileVersion = 11.0.2003.816 > Optional Information: > > See attached for the source and Makefile.
Jason, This looks useful. Feel like proposing this for cygutils? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/