batch: comparison of input and output dir is now correct