topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 17, 2024, 8:43 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

dcwul62

  • Supporting Member
  • Joined in 2013
  • **
  • default avatar
  • Posts: 336
    • View Profile
    • Donate to Member
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.pngMD5-SHA256 - Portable checksum tool providing file details as well
=

Any suggestions?

Thanks
=

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,643
    • View Profile
    • Donate to Member
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #1 on: August 08, 2017, 06:47 AM »
Code: Text [Select]
  1. C:\>hashmyfiles.exe /file "K:\P4215986.xmp" /stext k:\test.txt && type K:\test.txt | clip

Code: Text [Select]
  1. ==================================================
  2. Filename          : P4215986.xmp
  3. MD5               : 0ada7ba33f926cebf313c066aaea30bf
  4. SHA1              : f3fdb14fecc0f27f09b74a203ec5f5be75886956
  5. CRC32             : 91167e98
  6. SHA-256           : 6d662695acc54955cf984b47dfb2b9aa077957c2155d739b263d2fcdecc99309
  7. SHA-512           : 52d2cf8849a99304ffafa75e56fff06861b83b87b98369166771e6655b8bdf7b3b40b0345a6ea5587bf14f3cb5b8901ecbe889191d82b5aa74ef01aada5b5f97
  8. SHA-384           : 769bd7d18c4321dc53779e7e4449edd459b8356ae138422c7db7e1928ff24396dc3faa17e7f019c91791a704f4042824
  9. Full Path         : K:\P4215986.xmp
  10. Modified Time     : 8/08/2017 16:39:44
  11. Created Time      : 8/08/2017 16:39:44
  12. File Size         : 1,692
  13. File Version      :
  14. Product Version   :
  15. Identical         :
  16. Extension         : xmp
  17. File Attributes   : A
  18. ==================================================
« Last Edit: August 08, 2017, 06:53 AM by 4wd »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #2 on: August 08, 2017, 06: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 [Select]
  1. myNewText  := ""
  2.  
  3. Loop, Parse, Clipboard, `n, `r
  4. {
  5.     If ( A_LoopField )
  6.     {
  7.         myArray := StrSplit( A_LoopField, A_Tab )
  8.  
  9.         myNewText .= "Filename: "      . myArray[ 1 ] . "`r`n"
  10.                   .  "Filesize: "      . myArray[ 2 ] . "`r`n"
  11.                   .  "Modified date: " . myArray[ 3 ] . "`r`n"
  12.                   .  "Creation data: " . myArray[ 4 ] . "`r`n"
  13.                   .  "MD5: "           . myArray[ 5 ] . "`r`n"
  14.                   .  "SHA256: "        . myArray[ 6 ] . "`r`n`r`n"
  15.     }
  16. }
  17.  
  18. 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
  • **
  • default avatar
  • Posts: 336
    • View Profile
    • Donate to Member
Re: MD5-SHA256 - Portable checksum tool providing file details as well
« Reply #3 on: August 08, 2017, 07:09 AM »
Thank you both!
I'll check it out.

Many thanks again.

=