Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
705 B

  1. Option Explicit
  2. Dim objMetaUtil
  3. Dim objError
  4. Dim strKey
  5. Set objMetaUtil = WScript.CreateObject("MSWC.MetaUtil")
  6. For Each objError In objMetaUtil.CheckSchema("LM")
  7. WScript.Echo(objError.Key & "; " &_
  8. objError.Property & "; " &_
  9. objError.Id & "; " &_
  10. objError.Severity & "; " &_
  11. objError.Description)
  12. Next
  13. For Each strKey In objMetaUtil.EnumAllKeys("")
  14. For Each objError In objMetaUtil.CheckKey(strKey)
  15. WScript.Echo(objError.Key & "; " &_
  16. objError.Property & "; " &_
  17. objError.Id & "; " &_
  18. objError.Severity & "; " &_
  19. objError.Description)
  20. Next
  21. Next