here is the DLL and the script to run it.
I just tested it with 27,2 gigs and 61584 files and needed 17 minutes on my machine ;-).
However that depends on the hard drive not the script or the dll.
Have fun :-).
FileSelectFile, Path VarSetCapacity(md5sum, 32) DllCall("MD5Lib.dll\hexMD5", "str", md5sum, "str", Path) FileAppend, %md5sum%`t%Path%`r`n, H:\Programmieren\Textdokument.txt.MD5.txt
FileSelectFolder, Path hModule := DllCall("LoadLibrary", "str", "MD5Lib.dll") ; Avoids the need for DllCall() in the loop to load the library. Loop, %Path%\*.*, , 1 { DllCall("MD5Lib.dll\hexMD5", "str", md5sum, "str", A_LoopFileFullPath) FileAppend, %md5sum%`t%A_LoopFileFullPath%`r`n, %Path%\MD5Sums.txt } DllCall("FreeLibrary", "UInt", hModule) ; It is best to unload the DLL after using it (or before the script exits).
You can download the DLL from here.
https://ahknet.autoh...eddy/MD5Lib.dll
And sorry I got logged out again the Post of the Guest with the same title can be deleted.
Thanks.