Make check of checksum at filename work the same as from clipboard

Here you can propose new features, make suggestions etc.

Moderators: petermad, Stefan2, Hacker

Post Reply
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3978
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Make check of checksum at filename work the same as from clipboard

Post by *sqa_wizard »

TC already has the functionality to check a checksum of a selected file against the value at clipboard
(copy a checksum text value, select a file, perform "Verify checksums")
If the length of the checksum is obvious, TC starts the check instantly, otherwise TC asks to select the appropriate method.

Another way is to put the checksum directly in the filename using square brackets as marker.
e.g. testfile_[68F44555].exe
(just select the file(s) and perform "Verify checksums")

This checksum is currently restricted to CRC checksums only :-(
Other methods like MD5 or SHA are not supported by this way.

Why make a difference for processing the detected checksum?
Retrieve it from the clipboard or from a filename is the same.
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53149
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Make check of checksum at filename work the same as from clipboard

Post by *ghisler(Author) »

Other checksums are quite long, so I have never seen any file with such a checksum in the name anywhere. Are they really being used?
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3978
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Make check of checksum at filename work the same as from clipboard

Post by *sqa_wizard »

Well, you may see this every month at MS patch day.
Filenames are like that:
windows11.0-kb5087051-x64-ndp481_1b5e85a299767e6186f9c693037df973254662d9.msu

A simple multirename puts brackets around the checksum after "_" until the end.
MS_PatchChecksum_search=(.*_)(.*)
MS_PatchChecksum_replace=$1[$2]
#5767 Personal license
Post Reply