Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for hotfixes.kix

(view source code of hotfixes.kix as plain text)

  1. ; Hotfixes.kix,  Version 1.00 for Windows NT 4 / 2000
  2. ; Displays a list of hotfixes and their descriptions
  3. ;
  4. ; Usage:  KIX32 HOTFIXES.KIX
  5. ;
  6. ; Written by Rob van der Woude
  7. ; http://www.robvanderwoude.com
  8.  
  9. $Tab   = Chr(9)
  10. $Index = 0
  11. $Key   = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\"
  12.  
  13. ?" Hotfixes installed on this PC:"
  14. ?
  15.  
  16. :Loop1
  17. $KeyName = EnumKey( $Key, $Index )
  18. If @ERROR = 0
  19. 	$Msg = "    $KeyName"
  20. 	$FixDescr = ReadValue( "$Key$KeyName", "Fix Description" )
  21. 	If @ERROR = 0
  22. 		$Msg = "$Msg$Tab$FixDescr"
  23. 	EndIf
  24. 	? $Msg
  25. 	$Index = $Index + 1
  26. 	GoTo Loop1
  27. EndIf
  28.  
  29. ?
  30.  

page last uploaded: 2017-04-06, 13:33