Add the hash sum calculation function to the file context menu. The result is displayed in the console window. For the item to be displayed in the menu, it must be called while holding Shift.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Menu_HashSum] "MUIVerb"=Hash sum" "SubCommands"="HashSum_MD4;HashSum_MD5;HashSum_SHA1;HashSum_SHA256;HashSum_SHA384;HashSum_SHA512" "Icon"="shell32.dll,-45" "Extended"="" [HKEY_CLASSES_ROOT\*\shell\Menu_HashSum\command] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_MD4] "MUIVerb"="MD4" "Icon"="shell32.dll,-45" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_MD4\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" MD4 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_MD5] "MUIVerb"="MD5" "Icon"="shell32.dll,-45" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_MD5\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" MD5 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA1] "MUIVerb"="SHA1" "Icon"="shell32.dll,-45" "CommandFlags"=dword:00000020 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA1\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" SHA1 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA256] "MUIVerb"="SHA256" "Icon"="shell32.dll,-45" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA256\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" SHA256 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA384] "MUIVerb"="SHA384" "Icon"="shell32.dll,-45" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA384\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" SHA384 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA512] "MUIVerb"="SHA512" "Icon"="shell32.dll,-45" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\HashSum_SHA512\command] @="cmd.exe /v:on /k color 07 & @echo off & echo Please wait... & for /f \"tokens=*\" %%k in (\"%1\") do (for /f \"skip=1 delims=\" %%i in ('@certutil -hashfile \"%1\" SHA512 ^| find /v \"CertUtil\"') do set \"hash=%%i\" & set \"hash=!hash: =!\" & cls & echo !hash!)" |