losathings.blogg.se

Mkvmerge gui subtitles overlay
Mkvmerge gui subtitles overlay





mkvmerge gui subtitles overlay

if "123" gtr "2" would be evaluated as FALSE because the comparison is performed alphabetically "1" is less than "2" so result is FALSE. It allows strings containing spaces to be compared. sequins is obviously neq acceptable, but using the syntax you have used, it would be if sequinsequacceptable ( Should that be interpreted as if s equ insequacceptable ( or if sequins equ acceptable ( ? Consider if sequins equ acceptable ( for instance. The issue here is gtr (or any other member of the alphabetical-comparison-operator family) has no significance over any random alphabetic string. This is of the format if string (, so cmd should object as the operator is invalid ( () Then apply here - where I believe your problem is resident. remember that syntax if string=string if gtr ( %rootfolder% in these two lines would require to be "quoted" if NOT = ( echo Enumerating all MKVs under %rootfolder%

mkvmerge gui subtitles overlay

The advantage of this usage is that it works in code blocks (parenthesised statements) without the need to invoke delayedexpansion. Personally, I'd suggest you look here for usage of Boolean variables. Once bitten, twice shy.Ĭlean is evidently being used as a Boolean. As you have coded it, any trailing spaces or tabs would be included in the value assigned to rootfolder and can cause chaos - hours of work caused by invisible characters. It also protects against terminal spaces and tabs as you have in your code. This allows the quotes to be easily inserted as and when necessary.

mkvmerge gui subtitles overlay

The second format is usually preferred on this tag, so set "rootfolder=C:\Users\User\Desktop\mov" set rootfolder="C:\Users\User\Desktop\mov" Unfortunately, you don't mention any error messages, so all I can do is offer a few (I hope, constructive) criticisms.







Mkvmerge gui subtitles overlay