Page 1 of 1

How to get MD5 hash only (Batch Script)

Posted: 05 May 2021 17:52
by sonelkim
I'm writing a batch script that will check the MD5sum of all files in a folder

for /r %%f in (*) do (certutil -hashfile "%%ff" MD6) >> output.txt

This one is working but any idea how can I get the hash only, without the other text

Those text highlighted in yellow only

Image

Re: How to get MD5 hash only (Batch Script)

Posted: 05 May 2021 20:39
by Squashman
So you failed to search Stack overflow for an answer to your question.
https://stackoverflow.com/questions/674 ... tch-script
And you failed to search our forum here as well.
viewtopic.php?t=7592