Win2K "secret weapon" file version viewing tool

  

In the support tools of Windows 2000 Professional, there are quite a few 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 used:

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 the directory Files in all subdirectories.

/v

Lists 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 them as short file names.

/b

Use the bare format (that is, the list of directories that do not display files, only the file name).

/a

Specifies file attributes that are not displayed.

/d

Specifies that the date and time properties of the file are not 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:temp 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 /[Listname 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:temp Use the /s parameter to display c:temp File information c: windowstemp d---- - - - - - 0 07-08-2000 [temp] c:documents and settingsdefault userlocal settingstemp d---- - - - - - 0 12-15-2000 [temp ] c:documents and settings秋寒 local settingstemp d---- - - - - - 0 12-15-2000 [temp]

The following is the use of parameters The result:

C:>filever /e c: The windows /e parameter only lists the executable 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 vmmreg32.dll--a-- W32i APP CHS 5.0.2140.1 shp 50,960 01-10-2000 not Epad.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, with 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 that it is an executable file or a dll file;

The fourth column is unknown, and the corresponding one is not found. Description;

Fifth column file size;

Sixth column time;

Seventh column file name.

Copyright © Windows knowledge All Rights Reserved