Hello,
Found the doc I was looking for:
How To Determine what version/platform files are
Filever.exe is a utility that allows you to determine which platform a file
is.
Filever.exe shows you the attributes of a file.
Filever.exe shows the file versions of each file.
Filever.exe ships in the support.cab on the Windows CD.
<cd-rom-drive letter>\support\tools\support.cab
Filever is 32-bit on 32-bit Windows and filever is 64-bit on the Windows
X64 cds.
Switches
filever [/S] [/V] [/E] [/X] [/B] [/A] [/D] [[drive:][path][filename]]
/S Displays files in specified directory and all subdirectories.
/V List verbose version information if available.
/E List executables only.
/X Displays short names generated for non-8dot3 file names.
/B Uses bare format (no dir listing).
/A Don't display file attributes.
/D Don't display file date and time.
The output shown for example: from running filever *.* /B
-rash W32i64 DLL - 5.2.3790.0 shp 9,728 03-25-2003
c:\windows\kbdhept.dll
The first section -rash shows the file attributes: (-rash )There are 5
positions for attributes ( Directory,read-only,archive,system,hidden) They
are always in the same position and multiple attributes can be shown.
The output is virtually the same for the 32-bit and for the 64-bit filever.
The 32-bit filever however is not aware of X64 files so the header is
displayed differently.
32-bit filever.exe will run on 64-bit Windows since it will run in WOW64.
64-bit Filever will not run on 32-bit Windows.
These are the headers in the second position: (W32i64)
Itanium File - W32i64 ( reported the same with 32-it and 64-bit filever)
X64 File - Wx64 (64-bit Filever reports the x64 file header as Wx64
X64 File - W32 (32-bit filever reports x64 file headers as W32 without the
i)
X86 (32-bit) File - W32i ( reported the same with 32-it and 64-bit filever)
16 bit file - W16 ( reported the same with 32-it and 64-bit filever)
MS-DOS - DOS
Type of file: (DLL)
Then there is the language section: (ENU)
The next section is the version of the file: (5.2.3790.0)
The next section shp(shipping) in this example is the shipping version of
the file as opposed to the dbg( debug version). This will be blank on
directories and text files for example.
File Size (9,728)
File Date (03-25-2003)
File Location (c:\windows\kbdhept.dll)
Examples of the various platforms for Windows files.
Both of these files are for the x64 platform files
32-bit filever.exe output for an x64 file
--a-- W32 APP ENU 5.2.3790.1830 shp 88,064 03-24-2005
c:\windows\notepad.exe
64-bit Filever.exe output for an x64 file
--a-- Wx64 APP ENU 5.2.3790.1830 shp 22,016 03-24-2005
C:\windows\rsdiag.exe
Directory, not a file so it's platform idependent.
d---- - - - - - 0 08-31-2005
[c:\Windows\inf]
Text based file so it's platform independent. Note this has the read-only
and archive attributes on as well.
-ra-- - - - - - 7,895 08-23-2001
c:\Windows\inf\1394.inf
This is an Itanium file. Note the file has the read-only, archive, system
and hidden attributes enabled
-rash W32i64 DLL - 5.2.3790.0 shp 9,728 03-25-2003
c:\x64ver\kbdhept.dll
This is a 16-bit Windows file.
--a-- W16 DLL ENU 1.7.0.0 shp 94,784 03-24-2005
c:\x64ver\twain.dll
This is an MS-DOS file:
--a-- DOS - - - - 39,274 8/23/2001 c:\windows\system32\mem.exe
Thanks,
Darrell Gorter[MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<X-Tomcat-ID: 436819614
<References: <>
<eCGS3C$>
<>
<> <dkppin$8p6$>
<MIME-Version: 1.0
<Content-Type: text/plain
<Content-Transfer-Encoding: 7bit
<From:
("Darrell Gorter[MSFT]")
<Organization: Microsoft
<Date: Tue, 08 Nov 2005 18:37:39 GMT
<Subject: Re: Determining if an installer is 16-bit
<X-Tomcat-NG: microsoft.public.windows.64bit.general
<Message-ID: <$>
<Newsgroups: microsoft.public.windows.64bit.general
<Lines: 85
<Path: TK2MSFTNGXA01.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:20986
<NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
<
<Hello,
<The support tools on the cd in the cab file contain filever.exe.
<You can use this to determine what platform a file or files are.
<
<Filever
<Prints file version information.
<
<filever [/S] [/V] [/E] [/X] [/B] [/A] [/D] [[drive:][path][filename]]
<
</S Displays files in specified directory and all subdirectories.
</V List verbose version information if available.
</E List executables only.
</X Displays short names generated for non-8dot3 file names.
</B Uses bare format (no dir listing).
</A Don't display file attributes.
</D Don't display file date and time.
<
<Thanks,
<Darrell Gorter[MSFT]
<
<This posting is provided "AS IS" with no warranties, and confers no rights
<--------------------
<<From: "Mercury" <>
<<Newsgroups: microsoft.public.windows.64bit.general
<<Subject: Re: Determining if an installer is 16-bit
<<Date: Tue, 8 Nov 2005 22:02:39 +1300
<<Organization: Ihug Ltd
<<Lines: 45
<<Message-ID: <dkppin$8p6$>
<<References: <>
<<eCGS3C$>
<<>
<<>
<<NNTP-Posting-Host: 203-173-161-27.bliink.ihug.co.nz
<<X-Trace: lust.ihug.co.nz 1131440535 8998 203.173.161.27 (8 Nov 2005
<09:02:15 GMT)
<<X-Complaints-To:
<<NNTP-Posting-Date: Tue, 8 Nov 2005 09:02:15 +0000 (UTC)
<<X-Priority: 3
<<X-MSMail-Priority: Normal
<<X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
<<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
<<X-RFC2646: Format=Flowed; Response
<<Path:
<TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MS FTNGP08.phx.gbl!newsfeed00