home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- rem
- rem Create the registry trees that are needed to add the notes counters
- rem to the Perfmon counters list in the registry database.
- rem
-
- echo \Registry\Machine>notesreg.ini
- echo SYSTEM>>notesreg.ini
- echo CurrentControlSet>>notesreg.ini
- echo Services>>notesreg.ini
- echo notestat>>notesreg.ini
- echo Performance>>notesreg.ini
- echo Library = REG_SZ %1\nnotes.dll>>notesreg.ini
- echo Open = REG_SZ OpenStatPerformanceData>>notesreg.ini
- echo Collect = REG_SZ CollectStatPerformanceData>>notesreg.ini
- echo Close = REG_SZ CloseStatPerformanceData>>notesreg.ini
- echo \Registry\Machine>>notesreg.ini
- echo SYSTEM>>notesreg.ini
- echo CurrentControlSet>>notesreg.ini
- echo Services>>notesreg.ini
- echo EventLog>>notesreg.ini
- echo Application>>notesreg.ini
- echo notestat>>notesreg.ini
- echo EventMessageFile = REG_EXPAND_SZ %1\nnotes.dll>>notesreg.ini
- echo TypesSupported = REG_DWORD 0x07>>notesreg.ini
-
- regini notesreg.ini
- del notesreg.ini
-
- rem
- rem Add the notes counters the Perfmon counters list in the registry database.
- rem
-
- lodctr notestat.ini
-