File hasher with auto copy to clipboard func

Discuss anything related to portable freeware here.
Post Reply
Message
Author
RJ_STN
Posts: 7
Joined: Sat Nov 10, 2018 12:40 am

File hasher with auto copy to clipboard func

#1 Post by RJ_STN »

Hi everyone!

I search for a file hashing tool which can to get filename from command line and silenlty (and without any window) copy its hash to clipboard.
Like that:
sometool.exe "somefile.mp4" -md5

It would be great if program can get algorithm oprion, but if not - it helps me anyway.

Someone know a such tool or something like that?

User avatar
Midas
Posts: 6726
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: File hasher with auto copy to clipboard func

#2 Post by Midas »

Have a look at viewtopic.php?t=6358 and see if there's anything that fit's the bill.

Meanwhile you could experiment with this adaptation of the batch script I posted there...

Code: Select all

@ECHO OFF
REM MD5 clipboard hashing script v0.1 by Midas (2020-04-30)
POWERSHELL "get-filehash %1 -Algorithm md5 | ForEach-Object { $_.Hash }" > _tmp_
CLIP <_tmp_
DEL _tmp_

Post Reply