How to show the MD5 Checksum in a Dialog Box

I use custom Android ROMs on my smart phone. One of the things that is extremely important before flashing a ROM to the phone is to check its MD5 checksum to ensure that the ROM file hasn't been corrupted. A bad flash could potentially brick the phone. Currently, I use an external Microsoft program for checking MD5s accessed through a custom button running as an MS-DOS batch script. (E:\Programs\Useful Utilities\fciv.exe {filepath$} -sha1 -md5 @leavedoswindowopen)

After reading through Opus' help file, I noticed that the GetSizes command can calculate an MD5 for selected file(s). Is it possible to incorporate this command into a custom button that will display the MD5 for a selected FILE in a dialog box?

I've tried using GetSizes MD5 {filepath$} in a custom button but I don't get any output. I've read through the help file on 'Codes to Display Dialogs' but there doesn't seem to be an option to pass a string to a dialog.

Will this do what you want?

It can also compare the MD5 that is in your clipboard

That's exactly what I'm looking for. Thanks it will be a great help!!