Win2000 file version viewing tool

  

In the Windows 2000 Professional support tools, there are many tools that belong to the query information. Filever.exe is one of them. This is a command line based tool for viewing file versions. The range that it can view includes local computers and remote computers. You can view individual files as well as view directory structure information. The main types of files that can be viewed are executable files (.EXE) and dynamic link library files (.DLL).

Detailed syntax for use:

Command parameter drive path file name
filever [/s] [/v] [/e] [/x] [/b] [/a ] [/d] [[drive:] [path] [filename]]

Meaning of the parameter:

/s
Display the specified directory and all subdirectories under the directory The file in .

/v
List all available version information for this file.

/e
Only information about executable files is listed.
/x
For non-8.3 format file names (mainly long file names), display by short file name.

/b
Use the bare format (that is, the directory list that does not display the file, only the file name).

/a
Specifies the file attributes that are not displayed.

/d
Specifies the date and time attributes of the file not to be displayed.

Actual Verification Report:

This tool can only be run on the command line. It is required to open the command console of windows2000 in advance: Cmd.exe. This has been introduced before. In the Cmd.exe window, the prompt cursor enters the corresponding command, and the corresponding information can be displayed.

Below is the case where I use the /s parameter of the command on my own machine to display the file information in the c: emp directory:

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-1998 Microsoft Corp.

C:>filever/? Use /? Come get help. The following is the help information displayed:

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.

C:>filever /sc: emp Use the /s parameter to display the file information under c: emp
c:windows emp
d---- - - - - - 0 07-08-2000 [temp]
c:documents and settingsdefault userlocal settings emp
d---- - - - - - 0 12-15-2000 [temp]
c: Documents and settings秋寒 local settings emp
d---- - - - - - 0 12-15-2000 [temp]

The following results are obtained after using the parameters:

C:>filever /ec:windows /e List only the number of executable files and DLL files.
--a-- W16 - - - - 1,409 04-29-2001 ksphonet.for
--a-- W32i APP ENU 5.51.138.0 shp 306,688 10-29-1998 isuninst.exe
- -a-- W32i APP CHS 2.0.0.8118 shp 10,135 11-04-1998 _detmp.4
--a-- DOS - - - - 19,375 07-08-2000 setver.exe
--a-- W32i APP CHS 1.1.3.0 shp 415,744 10-09-1999 unsetup.exe
-ra-- W32i - ENU 2.1.2.59 shp 2,058,752 08-26-1996 qt32inst.exe
--a-- W32i - ENU 2.1.2.59 shp 169,472 07-15-2000 qtw32del.exe
--a-- W32i APP CHT 2.20.920.0 shp 299,008 04-28-1997 unin0404.exe
--a-- W32i - - - - 91,136 02-27-1997 ulsetup.exe
--a-- W32i APP ENU 5.4.1103.3 shp 7,536 05-03-2000 loadqm.exe
--a-- W32i APP CHS 5.0.2134.1 shp 72,464 01 -10-2000 regedit.exe
--a-- W16 DLL CHS 1.7.0.0 shp 94,784 01-10-2000 twain.dll
--a-- W32i DLL CHS 1.7.0.0 shp 44,816 01-10 -2000 twain_32.dll
--a-- W16 APP ENU 1.7.0.0 shp 49,680 01-10-2000 twunk_16.exe
--a-- W32i APP CHS 5.0.2159.1 dbg 191,760 01-10-2000 Winrep.exe
--a-- W32i DLL ENU 5.0.2134.1 shp 20,240 01-10-2000 vmm Reg32.dll
--a-- W32i APP CHS 5.0.2140.1 shp 50,960 01-10-2000 notepad.exe
--a-- W32i APP CHS 5.0.2134.1 shp 35,600 01-10-2000 taskman. Exe
--a-- W32i DLL ENU 4.0.4.2903 shp 5,392 01-10-2000 delttsul.exe

C:>

The meaning of these messages is as follows:

From left to right: the first column, which displays a or ra, is the file attribute;
The operating system to which the second column file belongs, is divided into win32i and dos, etc.
The third column indicates Is the executable file or dll file;
The fourth column is unknown, no corresponding description is found;
The fifth column file size;
The sixth column time;
The seventh column file name.

Copyright © Windows knowledge All Rights Reserved