make mkvalidator show the processed filename and output to file

"Sebastian G. <bastik>" <[email protected]> Thu, 31 Dec 2015 18:19:55 +0100
Newsgroups gmane.comp.multimedia.matroska.user
Message-ID <[email protected]>
Hi,

I'm on Windows and when I do

> CMD /k C:\mkvalidator\mkvalidator.exe $path\$filename.ext

I get:
> WRN0D0: There are 5126 bytes of void data
>
> mkvalidator 0.5.0: the file appears to be valid
>
> file created with [...]

if I add --details, it tells me about the tracks.

There is nothing that tells me which file I just checked. What do I have
to do to see what file the report is about?

I don't type $path\$filename, so I don't know for which file the report is.

Also I fail to write the results to a file.

When I do:
> dir > C:\test\dir.txt
I get a dir.txt with the directory contents as a list. Nothing is output
in the CMD window (console window).

When I do:
> C:\mkvalidator\mkvalidator.exe $path\$filename.ext >
C:\mkvalidator\log.txt
I get an empty log.txt and everything is still output to the console window.

Even if I use "2 >" to redirect error messages it fails, because then it
treats the file name like a parameter.

So how do I redirect the output of mkvalidtor to a file?

Thanks in advance.

Best regards,
Sebastian
_______________________________________________
Matroska-users mailing list
[email protected]
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user