On Wed Sep 3 00:22:48 2025 +0000, eric pouech wrote:
- it's overkill to test if files exist
- why not using only (untested):
if "%~z1"=="%~z2" (echo passed) else (echo failed) goto :eof
(and there's no need to print the filenames)
Done. Previous version was based on the CheckFileSize routine just above this, which did check for file existence and displayed file names, etc.