Generating MD5 Keys and Saving to a Text File

I am using the MD5 command line utility which can be obtained from here http://www.fourmilab.ch/md5/ All I want to do is generate MD5 keys of all files in the folder and save them in one file. However, I find it difficult to do this even for a single file. The DOS command I am using is this: -

md5 -n -ooutput_test.txt -i"D:\Tickets&Issues\MD5\data1.csv" "D:\Tickets&Issues\MD5\output_test.csv"

But I believe that all it does is generate a key for the last file and save it to that file. Can someone please help me with this? I need to get this sorted in less time :(

Thanks in anticipation

0


source to share


1 answer


Just create a batch file "md5.bat":

@echo off
for /r %%f in (*) do md5.exe %%f >> output.txt

      

Or if executed from the command line:



for /r %f in (*) do md5.exe %f >> output.txt

      

Run the bat file in the directory you want to go through.

+3


source







All Articles