Click to See Complete Forum and Search --> : find file version in DOS
dhspk
July 15th, 2002, 03:10 PM
Hi,
I need to find the file version, product version, vendor etc from executables for an asset management system.
Can this be done in 16 bit DOS? I found a couple of classes written for 32 bit, but nothing on 16 bit.
Any help would be greatly appreciated.
Thanks.
stober
July 15th, 2002, 05:28 PM
If its MS DOS 3.X or earlier (non-Windows), the answer is "absolutely not". I'm not so sure about Windows 3.1, but "probably not".
dhspk
July 15th, 2002, 06:50 PM
Thanks,
I was afraid of that. Appreciate the help.:)
Anthony Mai
July 15th, 2002, 08:05 PM
You may not be that disappointed.
If you are talking about writting an application (be it 16 bits or 32 bits) to extract the version information from a 16 bits executable file, the answer is NO, because those 16 bits files contains no version information to be extracted.
If you are talking about writting any application (be it 8 bits, 16 bits, 32 bits, whatever) application to extract version info from a 32 bits executable file. The answer is YES. The version info is there so you can write any application on any platform to extract the binary of the version info. You just need to know the format of the file.
dhspk
July 15th, 2002, 09:02 PM
Thanks for clarifying... I wondered if they simply did not contain the info. Yes, I am looking at 16 bit files. I will have to make do with file size and path.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.