Note on How to Run the Script:
To use this batch script, follow the steps below:
-
Prepare the environment:
-
Place the batch script in the same directory where your
.evtx
files are located. -
Make sure that the
evtx_dump-v0.9.0.exe
executable is also in the same directory.
-
-
Run the script:
-
Double-click the batch script (
.bat
) to execute it. -
The script will:
-
Check all
.evtx
files in the directory. -
Rename any files that contain spaces in their names by replacing the spaces with hyphens (
-
). -
Convert all
.evtx
files to.json
format using theevtx_dump-v0.9.0.exe
executable. -
Display a summary of the renaming and conversion process at the end.
-
-
-
Review the output:
-
After the script finishes, you'll see a summary of:
-
How many files were found and processed.
-
How many files had their names adjusted.
-
How many files were successfully converted to
.json
. -
Any files that could not be renamed or converted will also be listed.
-
-
This script simplifies the process of renaming .evtx
files with spaces in their names and converting them to JSON format for further analysis.
### script ###
### script ###