To add subtitles to a single file I use the following command:
mkvmerge.exe -o g:\movie01.mkv --default-track 0 --language 0:pl movie01.mkv movie01.srt
movie01.mkv is the name of a video file
movie01.srt is the name of a subtitle file (it is always the same as the video file)
g:\movie01.mkv is the output file
How do I run the above-mentioned command for every file in a directory?