> fileMD5.txt echo" />
Batch check MD5 of files

 

If there is an installation error, we should check the downloaded files,Using the following script, you can quickly generate MD5 files.

 

@echo off

title get_md5

setlocal enabledelayedexpansion

@echo Type your FOLDER PATH,then press ENTER: 
set /p GetYourLog=

cd /d %GetYourLog%

::cd /d %~dp0
if exist file.txt del file.txt
for /R %%s in (.,*) do (
echo %%s
) >>file.txt
if exist fileMD5.txt del fileMD5.txt
for /f "skip=1" %%a in (file.txt) do certutil -hashfile %%a MD5 >> fileMD5.txt

echo all-done,please check the file.txt and MD5.txt