Last active
January 11, 2021 18:48
-
-
Save droidlabel/6b3f9aed1e0fba6deea2 to your computer and use it in GitHub Desktop.
Match Title in MKV file with filename
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM **** Requiers mkvpropedit.exe comes bundled with MKVToolNix | |
| REM **** Function: Replaces title of all mkv files in a folder with their file names. | |
| REM **** Steps: | |
| REM **** 1. Replace mkvpropedit.exe locaiton in the code | |
| REM **** 2. save as .bat file | |
| REM **** 3. Copy the file in same folder as desired mkv files and run it. | |
| echo ***** Starting MKVtitle ***** | |
| for %%m in (*.mkv) do ( | |
| echo Changing %%m Title to "%%~nm" | |
| REM point to location of mkvpropedit.exe in following line | |
| "D:\Softwares\Converters\mkvtoolnix\mkvpropedit.exe" "%%m" -e info -s title="%%~nm" | |
| echo ----- | |
| ) | |
| echo ***** Finished ***** | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment