@echo off
:loop
rand.exe>data.in
std.exe<data.in>std.out
std2.exe<data.in>std2.out
fc std.out std2.out
if not errorlevel 1 goto loop
pause
goto loop
@echo off
:loop
rand.exe>data.in
std.exe<data.in>std.out
std2.exe<data.in>std2.out
fc std.out std2.out
if not errorlevel 1 goto loop
pause
goto loop