How to convert report files “big” to “csv”, BAT file to convert Windows Performance Monitor reports.

ad

Overview

This is a batch file that converts the performance monitoring report file (.blg) from Windows to CSV format. I’ve designed it to create a new CSV file with a user-friendly name for easy use. Please save the following code as a .bat file and use it.

使い方
  1. Create the Batch File.
  2. Place the batch file in a location of your choice.
  3. Then, drop the .blg file created by Performance Monitor onto the batch file to run the conversion.
BAT (Batchfile)
@echo off
setlocal

if "%~1"=="" (
    echo Please drag and drop a performance log file onto this script.
    pause
    exit /b
)

set perfLogFile="%~1"
set outputCsvFile="%~dpn1.csv"

relog %perfLogFile% -f CSV -o %outputCsvFile%

echo Conversion complete.
pause

ad