CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2002
    Posts
    3

    find file version in DOS

    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.

  2. #2
    Join Date
    Jun 2002
    Posts
    1,417
    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".

  3. #3
    Join Date
    Jul 2002
    Posts
    3
    Thanks,
    I was afraid of that. Appreciate the help.

  4. #4
    Join Date
    Jun 1999
    Location
    San Diego, CA
    Posts
    600
    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.

  5. #5
    Join Date
    Jul 2002
    Posts
    3
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured