#164 Batch script to create md5 hash for every file in the folder, then write them in text file
@echo off FOR /F "delims=" %%F IN ('dir /B /A /S *') DO ( for %%D in ("%%~dpF\.") do ( set filename=%%~nxD.md5 ) ) TYPE NUL > %filename% For /R . %%f in (*.rar) Do ( for /F "delims=" %%a in ('"certutil -hashfile "%%f" MD5 | findstr /V ":""') do ( set /p "=%%a " <nul >> %filename% echo *%%~nxf>> %filename% ) )
Recent Comments