Skip to content

Instantly share code, notes, and snippets.

@AhmadFCheema
AhmadFCheema / CAlculating.Hash.Checksums.Cascading.reg
Created September 13, 2017 14:21
Windows context menu, individual Hash calculation shortcut
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\Calculating.Hash.Checksums.Cascading]
"Extended"=""
"MUIVerb"="Calculate hash checksums"
"SubCommands"="MD2;MD4;MD5;SHA.1;SHA.256;SHA.384;SHA.512;All.Hash"
"Icon"="imageres.dll,262"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD2]
"Icon"="imageres.dll,262"
@AhmadFCheema
AhmadFCheema / CAlculating.Hash.Checksums.reg
Created September 13, 2017 14:14
Windows context menu, Hash calculation shortcut
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Calculating.Hash.Checksums]
@="Calculate hash checksums"
"Extended"=""
"Icon"="imageres.dll,262"
[HKEY_CLASSES_ROOT\*\shell\Calculating.Hash.Checksums\Command]
@="cmd /s /c pushd &(call certUtil -hashfile \"%1\" MD2 & certUtil -hashfile \"%1\" MD4 & certUtil -hashfile \"%1\" MD5 & certUtil -hashfile \"%1\" SHA1 & certUtil -hashfile \"%1\" SHA256 & certUtil -hashfile \"%1\" SHA384 & certUtil -hashfile \"%1\" SHA512) > \"%1\"-Hash.txt"