* Thus wrote M. Sokolewicz: > Pedro irán méndez pérez wrote: > >Thank you for your help, My question is: > > > >How can I know the version of a file, I mean, in Windows if you press click > >with the mouse right button you can see the file properties, > that is correct > in those > >properties you can see the version. > you can? I can't find any mention of a "version", I can see: > filename > type of file > opens with > location > size > size on disk > created > modified > accessed > attributes
It depends on the file and how it was created, many .exe's and most .dll's have that information compiled in them. Its a header that is attached (you'll end up with a 'Version' tab if it is compiled in.) As far as I know there isn't any default way to obtain this information in windows. A dos tool would be needed that can be exec'd in a shell, or read the executable's header information manually. Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php