> > set OUT=%IN:mkv=mp4% please note that this renaming will give unexpected results if "mkv" is also part of the filename, for example aamkv.mkv will be renamed to aamp4.mp4 If someone knows a solution to this problem, please let us know. Michael