Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 19 Jan 2005 15:19:35 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Jason Tishler cc: cygwin AT cygwin DOT com Subject: Re: looking for shell program to retrieve property info from windows files In-Reply-To: <20050119130300.GA3452@tishler.net> Message-ID: References: <200501181915090630 DOT 3FC77633 AT smtp DOT atl DOT yahoo DOT com> <20050119130300 DOT GA3452 AT tishler DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Content-Disposition: INLINE 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/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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/