Well I thought about that but I used that script a lot before updating MKVtoolnix and it was working fine.
My files are stored in a folder like: S01R/S01E01.mkv and S01V/S01E01.mkv (V = video and R = rest) to avoid any space, special char, …
As you can see, it’s not a complicated script, it simply mux 2 files together and it was working like a charm before updating. So I wonder why, now, it can’t open the files anymore.
So what’s the full actual error message? 'cause you only posted part of it. Maybe that’ll shed some light on what’s different now on your end.
Additionally it would help to see the directory listings of both directories (the original ones, meaning screenshots, not you typing out the names, otherwise chances are you actually mistype something).
EDIT: Never mind… I just realised by translating the error in english that I removed the spaces in the script and it was because of that… Since I didn’t use it for a long time, I thought it was a mistake I made.
I realized it was trying to find a file called (S01\S01E01.mkv) with the parenthesis in the name.
So the script works fine if I put:
for %%x in ( S01R/*.mkv ) do "C:\Program Files\MKVToolNix\mkvmerge.exe" -o "S01\%%~x" -D ( "S01R\%%~x" ) -A -S -T -M -B --no-chapters ( "S01V\%%~x" )
instead of
for %%x in (S01R/*.mkv) do "C:\Program Files\MKVToolNix\mkvmerge.exe" -o "S01\%%~x" -D ("S01R\%%~x") -A -S -T -M -B --no-chapters ("S01V\%%~x")