2 Replies - 838 Views - Last Post: 10 July 2009 - 03:49 PM Rate Topic: -----

#1 JavaThinker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-July 09

How can I verify properties of a .exe file?

Post icon  Posted 10 July 2009 - 11:03 AM

Hi, people:

I´m brazilian, and a Java Beginner Programmer!
And I also am member of the GUJ(Grupo de Usuários Java, in English: Java Users Group)

I know I have a lot to learn about Java Programming! And one of the first questions I have at my learning process is .exe file properties!

How can I verify the properties of a .exe file?

My app needs to know what is the version of a .exe file for comparing with another .exe one, and so to know what is the newer between both!

What lib(s) I must to use? How can I use that(those) lib(s)?
Does anyone have examples of use?

Please, someone help me!!

Is This A Good Question/Topic? 0
  • +

Replies To: How can I verify properties of a .exe file?

#2 jpav  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 29
  • Joined: 08-July 09

Re: How can I verify properties of a .exe file?

Posted 10 July 2009 - 11:11 AM

View PostJavaThinker, on 10 Jul, 2009 - 10:03 AM, said:

I know I have a lot to learn about Java Programming! And one of the first questions I have at my learning process is .exe file properties!

How can I verify the properties of a .exe file?

My app needs to know what is the version of a .exe file for comparing with another .exe one, and so to know what is the newer between both!

What lib(s) I must to use? How can I use that(those) lib(s)?

Take a look at File.lastModified()
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8378
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: How can I verify properties of a .exe file?

Posted 10 July 2009 - 03:49 PM

Don't really see why you would use Java to read the property of a .exe file :)
It is like writting a C++ program to analyse the properties of a .class file
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1