Thanks BoBo,
but i wanted to have a list with the
versions numbers.
I use at the moment
AWK to format the output of
FileVer
for an nicer overview
and than i use
DIFF to show the version differences between e.g. bevor an installation and after them.
------------------
bevor.cmd
Code:
@echo off
::_vorher
if not exist C:\Test\. md C:\Test
bin\filever /E %SystemRoot% >C:\Test\VCheck01.txt
bin\filever /E %SystemRoot%\system32 >>C:\Test\VCheck01.txt
bin\filever /E %SystemRoot%\system32\drivers >>C:\Test\VCheck01.txt
VCheck01.txt
Quote:
--a-- W32i APP ENU 5.1.2600.2180 shp 100,352 08-04-2004 6to4svc.dll
--a-- W32i DLL DEU 5.1.2600.0 shp 26,624 08-04-2004 aaaamon.dll
----------------------
after.cmd
Code:
@echo off
:_nacher
bin\filever /E %SystemRoot%\ >C:\Test\VCheck02.txt
bin\filever /E %SystemRoot%\system32 >>C:\Test\VCheck02.txt
bin\filever /E %SystemRoot%\system32\drivers >>C:\Test\VCheck02.txt
bin\awk "/.exe|.sys|.dll|.ocx/ {print $4,$5,$7,$8,$9}" C:\Test\VCheck01.txt >C:\Test\VCheck11.txt
bin\awk "/.exe|.sys|.dll|.ocx/ {print $4,$5,$7,$8,$9}" C:\Test\VCheck02.txt >C:\Test\VCheck22.txt
bin\diff C:\Test\VCheck11.txt C:\Test\VCheck22.txt >C:\Test\VCheck33.txt
notepad C:\Test\VCheck33.txt
VCheck11.txt
Quote:
ENU 5.1.2600.2180 100,352 08-04-2004 6to4svc.dll
DEU 5.1.2600.0 26,624 08-04-2004 aaaamon.dll
At least i open the VCheck33.txt in notepad to show the output of DIFF.
Now i search for the corresponding features in AHK
to reduce the tools and build one
AHK_VCheck.exe
Thanks for the support
----
Edit:
OK, "
FileGetVersion," i have found, now i try to build an script around this.