home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April A / Pcwk4a98.iso / Lotus / Domino46 / LOTUS032.DSK / NOTESREG.BAT < prev    next >
DOS Batch File  |  1997-09-15  |  1KB  |  36 lines

  1. @echo off
  2.  
  3. rem
  4. rem Create the registry trees that are needed to add the notes counters 
  5. rem to the Perfmon counters list in the registry database.
  6. rem
  7.  
  8. echo \Registry\Machine>notesreg.ini
  9. echo     SYSTEM>>notesreg.ini
  10. echo         CurrentControlSet>>notesreg.ini
  11. echo             Services>>notesreg.ini
  12. echo                 notestat>>notesreg.ini
  13. echo                     Performance>>notesreg.ini
  14. echo                         Library = REG_SZ %1\nnotes.dll>>notesreg.ini
  15. echo                         Open = REG_SZ OpenStatPerformanceData>>notesreg.ini
  16. echo                         Collect = REG_SZ CollectStatPerformanceData>>notesreg.ini
  17. echo                         Close = REG_SZ CloseStatPerformanceData>>notesreg.ini
  18. echo \Registry\Machine>>notesreg.ini
  19. echo     SYSTEM>>notesreg.ini
  20. echo         CurrentControlSet>>notesreg.ini
  21. echo             Services>>notesreg.ini
  22. echo                 EventLog>>notesreg.ini
  23. echo                     Application>>notesreg.ini
  24. echo                         notestat>>notesreg.ini
  25. echo                             EventMessageFile = REG_EXPAND_SZ %1\nnotes.dll>>notesreg.ini
  26. echo                             TypesSupported = REG_DWORD 0x07>>notesreg.ini
  27.  
  28. regini notesreg.ini
  29. del notesreg.ini
  30.  
  31. rem
  32. rem Add the notes counters the Perfmon counters list in the registry database.
  33. rem
  34.  
  35. lodctr notestat.ini
  36.