DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: MD5-SHA256 - Portable checksum tool providing file details as well  (Read 5,236 times)

dcwul62

  • Supporting Member
  • Joined in 2013
  • **
  • Posts: 336
Up front, I know..., there are many MD5-SHA tools around and I have looked at quite a few.

Regretfully I haven't found the right one, although, one comes very close.

I am looking for a small portable checksum verifier that :

(1)
provides following details:
- Filename
- path (optional)
- file size
- modified date
- created date (optional)
- MD5
- SHA1/SHA256
(and maybe some other checking options, like CRC32 or so)


(2) send that to clipboard, but the details should not be side-by-side
i.e. not..  Filename,  path (optional),  file size..etc.
but below each other (like above)


Nirsoft 'HashMyFiles' comes very close.
It is putting the details side-by-side though and I would need to manually adjust that.
Also it does not add text: like
Filename: ...
Filesize :  ...
etc.

See screenshot.

=
SnagIt-08082017 081659.png
=

Any suggestions?

Thanks
=

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #1 on: August 08, 2017, 11:47 AM »
Code: (text)
C:\>hashmyfiles.exe /file "K:\P4215986.xmp" /stext k:\test.txt && type K:\test.txt | clip

Code: (text)
==================================================
Filename          : P4215986.xmp
MD5               : 0ada7ba33f926cebf313c066aaea30bf
SHA1              : f3fdb14fecc0f27f09b74a203ec5f5be75886956
CRC32             : 91167e98
SHA-256           : 6d662695acc54955cf984b47dfb2b9aa077957c2155d739b263d2fcdecc99309
SHA-512           : 52d2cf8849a99304ffafa75e56fff06861b83b87b98369166771e6655b8bdf7b3b40b0345a6ea5587bf14f3cb5b8901ecbe889191d82b5aa74ef01aada5b5f97
SHA-384           : 769bd7d18c4321dc53779e7e4449edd459b8356ae138422c7db7e1928ff24396dc3faa17e7f019c91791a704f4042824
Full Path         : K:\P4215986.xmp
Modified Time     : 8/08/2017 16:39:44
Created Time      : 8/08/2017 16:39:44
File Size         : 1,692
File Version      : 
Product Version   : 
Identical         : 
Extension         : xmp
File Attributes   : A
==================================================
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: August 08, 2017, 11:53 AM by 4wd »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #2 on: August 08, 2017, 11:50 AM »
Regretfully I haven't found the right one, although, one comes very close.

Since it's extremely doubtful that you're going to find an app that does exactly what you want, consider using a small script that formats HashMyFiles' clipboard data.  Here's an AHK example:

Code: ( autohotkey)
myNewText  := ""

Loop, Parse, Clipboard, `n, `r
{
    If ( A_LoopField )
    {
        myArray := StrSplit( A_LoopField, A_Tab )

        myNewText .= "Filename: "      . myArray[ 1 ] . "`r`n"
                  .  "Filesize: "      . myArray[ 2 ] . "`r`n"
                  .  "Modified date: " . myArray[ 3 ] . "`r`n"
                  .  "Creation data: " . myArray[ 4 ] . "`r`n"
                  .  "MD5: "           . myArray[ 5 ] . "`r`n"
                  .  "SHA256: "        . myArray[ 6 ] . "`r`n`r`n"
    }
}

Clipboard := myNewText

I call these ClipEx (CLIPboard EXchanger) scripts and I use an extensive amount of them in my day-to-day routine.

dcwul62

  • Supporting Member
  • Joined in 2013
  • **
  • Posts: 336
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #3 on: August 08, 2017, 12:09 PM »
Thank you both!
I'll check it out.

Many thanks again.

=

Original address: https://www.donationcoder.com/forum/index.php?topic=44183.0