The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Some Info. ad4m88 UNIX for Dummies Questions & Answers 8 03-29-2008 04:01 PM
Need Info msgobinathan Shell Programming and Scripting 1 11-03-2007 02:17 PM
cpu info vijayca HP-UX 1 08-27-2007 05:51 AM
How get more LUN info itsupplies Linux 0 10-26-2006 01:22 AM
SU info afflack UNIX for Dummies Questions & Answers 4 01-20-2005 06:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2005
Registered User
 

Join Date: Nov 2005
Posts: 25
exe info

Hi

Is it possible to find all the information like its 'ProductName', 'ProductVersion, ''InternalName' , 'FileVersion' etc about a windows excutable file,( i.e. *.exe file ) on Unix/Linux.

thanks

sumsin
Reply With Quote
Forum Sponsor
  #2  
Old 11-16-2005
fdarkangel's Avatar
Registered User
 

Join Date: Apr 2005
Location: /dev/null
Posts: 42
i once saw a utililty "what" that extracts SCCS information, in files that have.
Reply With Quote
  #3  
Old 11-16-2005
Registered User
 

Join Date: Nov 2005
Posts: 25
tell somehing more.

is the what utility is in unix?

Can we get the info from programming(C/C++)?
Reply With Quote
  #4  
Old 11-16-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,297
Most versions of UNIX have the ident utility. You can also try the what command on the executable image file.

If you want to create entries in C source so you can see them using what (running against a compiled file):
Code:
static char *idubpbilp_h=
     "@(#) $Header: ubpbilp.h in situ NO DATE jmc";
The @(#) thing is called a what string and allows what to see it.
Reply With Quote
  #5  
Old 11-16-2005
Registered User
 

Join Date: Nov 2005
Posts: 25
but when I use the command to find info of windows executable (taken from my windows machine ) it gives no result.
$ ident ~/WINWORD.EXE
~/WINWORD.EXE:
ident warning: no id keywords in ~/WINWORD.EXE

is any other way?
Reply With Quote
  #6  
Old 11-17-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
try
Code:
file filename.exe  # for a clean 'summary' 
man objdump  # for a more 'detailed' info
Reply With Quote
  #7  
Old 11-17-2005
Registered User
 

Join Date: Nov 2005
Posts: 25
thanks andryk

objdump command gives a detailed information about exe.

Now what I want is ' to extract ( or make with combination of two or more fields ) a unigue id of that exe file' that can be used as an identifier between different exe file.

So can you guide me abt this...

thanks again.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0