perfmon.bat 263 B

1234567891011121314151617181920212223
  1. if "%2"=="" goto Usage
  2. rem
  3. rem Start perfmon using the .pml that's here.
  4. rem
  5. if exist %2 del %2
  6. if not exist %1 goto End
  7. copy %1 c:\temp\fedsrv.pml
  8. start perfmon.exe c:\temp\fedsrv.pml
  9. goto End
  10. :Usage
  11. echo perfmon.bat [pml file] [log file]
  12. goto End
  13. :End