c: cd\progra~1\logalert set a= Rem echo %1 %2 >> Running.log copy prev.log p2.log copy this.log prev.log echo %2 > this.log set a=Diffromlast echo n|comp this.log prev.log if errorlevel 1 goto t2 :echo Same as last %2 >> dbg.log goto out :t2 :echo Made it to t2 %2 >>dbg.log set a=DifFrom2 echo n|comp this.log p2.log if errorlevel 1 goto ok goto out :ok :echo Send mail >> dbg.log echo %1 > Temp.Log echo %2 >>temp.log echo This message should be researched in Event Viewer. >>temp.Log echo (You may edit the skip log to bypass this message at \\%COMPUTERNAME%\c$\progra~1\logalert\skip.txt) >>temp.log blat Temp.log -t darylbypass@packetex.com -s %2 :out :echo Outee %2>>dbg.log