0%

MD5批量生成脚本

get_md5.bat

1
2
3
4
5
6
7
8
9
10
11
title MD5批量生成脚本
setlocal enabledelayedexpansion

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