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

