This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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. Note the Makefile builds two executables: version.exe: Mingw executable cygversion.exe: Cygwin executable 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
Attachment:
version.cc
Description: Text document
Attachment:
Makefile
Description: Text document
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |