学院首页>操作系统>Win2000>Windows 2000文件版本查看工具

Windows 2000文件版本查看工具

作者:秋寒 来源:天极网 添加时间:2006-5-21 15:20:12
在windows2000专业版的支持工具中,有不少是属于查询信息的工具。Filever.exe就是其中的一个,这是一个基于命令行的、用于查看文件版本的工具。它可查看的范围包括本地计算机和远程计算机。可以查看单个文件也可查看目录结构信息。主要可查看的文件种类是可执行文件(.EXE)和动态连接库文件(.DLL)。 

使用的详细语法: 

命令            参数         驱动器   路径  文件名称 
filever [/s] [/v] [/e] [/x]  [/a] [/d] [[drive:] [path] [filename]] 

参数的含义: 

/s 
显示所指定目录以及该目录下的所有子目录中的文件。 

/v 
列出该文件所有可用的版本信息。 

/e 
仅仅列出可执行文件的信息。 
/x 
对于非8.3格式的文件名称(主要指长文件名称),按短文件名称显示。 

/b 
使用裸露格式(即不显示文件的目录列表,只显示文件名称)。 

/a 
指定不显示的文件属性。 

/d 
指定不显示文件的日期和时间属性。 

实际验证报告: 

  这个工具只能运行在命令行的状态下。要求事先打开windows2000的命令控制台:Cmd.exe.这在以前是已经介绍过的。在Cmd.exe的窗口中的提示光标输入相应的命令,就可以显示对应的信息。 

  下面是我在自己的机器上,使用该命令的/s参数,显示c:\temp目录下的文件信息的情形: 

  Microsoft Windows 2000 [Version 5.00.2195] 
  (C) 版权所有 1985-1998 Microsoft Corp. 

  C:\>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. 

  C:\>filever /s c:\temp  使用/s参数显示出的 c:\temp之下的文件信息 
  c:\windows\temp 
  d---- - - - - - 0 07-08-2000 [temp] 
  c:\documents and settings\default user\local settings\temp 
  d---- - - - - - 0 12-15-2000 [temp] 
  c:\documents and settings\秋寒\local settings\temp 
  d---- - - - - - 0 12-15-2000 [temp] 

以下是使用参数后得出的结果: 

C:\>filever /e c:\windows /e参数只列出可执行文件和DLL文件。 
--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 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:\> 

这些信息的含义如下: 

从左向右:第一列,有显示a或ra的,是文件属性; 
     第二列 文件所属的操作系统,分为win32i和dos等等; 
     第三列 指出是可执行文件或是dll文件; 
     第四列 不详,没有找到相应的说明; 
     第五列 文件大小; 
     第六列 时间; 
     第七列 文件名称。     
站内搜索