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: Thu, 20 Jan 2005 08:01:55 -0500 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: looking for shell program to retrieve property info from windows files Message-ID: <20050120130155.GB3448@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Igor, On Wed, Jan 19, 2005 at 03:19:35PM -0500, Igor Pechtchanski wrote: > On Wed, 19 Jan 2005, Jason Tishler wrote: > > 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: > > > > [snip] > > > > See attached for the source and Makefile. > > This looks useful. Feel like proposing this for cygutils? Sorry, but I can't fit this in right now. If anyone else is interested, then feel free to adopt the code and submit it to cygutils. BTW, I found a bug when I dusted off this code yesterday: version.exe should "handle file not found" errors better. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/