@set filename="md5sum"
@if exist %filename% (goto start) else (goto error)
:start
@ren md5sum md5sum.exe
@echo Checksum validation processing.
@echo Please wait for a while.
@echo.
@md5sum.exe --check CVJ2796-J.md5
@if %ERRORLEVEL%==-1 goto error
@ren md5sum.exe md5sum
@echo.
@echo Checksum validation complete.
@echo Now you can copy CVJ2796-J.avh to your USB memory to perform the update.
@echo (Please do not copy other files to the USB memory or the update may fail.)
@pause.
goto end
:error
@ren md5sum.exe md5sum
@echo.
@echo Checksum validation failed!
@echo Please re-download the update file!
@pause.
:end
