Make a button to make a checksum (MD5) of folder contents?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Make a button to make a checksum (MD5) of folder contents?

Post by *Stefan2 »

2Dazzer

Moderator message

Dazzer, tuska just wanted to pointed out, that the code posted by you is not 100% accurate
(missing a "-1" and was in bold format (I will edit your post to adjust that now))

Dazzer wrote: 2024-10-25, 15:02 UTC Damn, i really don't understand, I'm not too technical, all i know is it works so I'm happy!!
tuska wrote: 2024-10-25, 12:20 UTC By the way, the CODE you entered here is NOT correct and does not work!
The correct CODE can be found here.

 
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Make a button to make a checksum (MD5) of folder contents?

Post by *beb »

Dazzer wrote: 2024-10-25, 15:02 UTC Damn, i really don't understand, I'm not too technical...
The point of that approach is namely to make it understandable and easy to use for those who are not too technical.

Here's a visualization of the idea, that may help:
Image: https://i.imgur.com/m1gvDi0.mp4
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Make a button to make a checksum (MD5) of folder contents?

Post by *hi5 »

@Dazzer - just for fun (and perhaps profit) - you can also create a separate ini file with "user commands".
In the folder where you have wincmd.ini you can create a new file if not already present with this name:

usercmd.ini

Add the code below to it and save it and close it, just to be safe restart Total Commander.

Code: Select all

[em_MD5]
cmd=cm_SelectAllFiles,cm_CRCcreate
Now in TC configuration, go to Misc. and the Hotkey section, say you want to assign ctrl+shift+alt+k to start your MD5 process.
Setup the hotkey and click on the search icon behind the "command" input field, start typing md5 and you should see usercmd, em_md5 appear (it if doesn't you have the usercmd.ini in the wrong folder).
Click OK, OK. Now you can press ctrl+shift+alt+k to start the MD5 process.

A second step is that you can now also edit the button you created earlier and instead of the two commands you have there replace it with em_MD5 as that executes the same command from your usercmd.ini which you've just assigned to ctrl+shift+alt+k.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Post Reply