User Tools

Site Tools


windows:right-click

Windows - Add Menus to right-click

Add menu

  1. Open regedit.exe
  2. Navigate to Computer\HKEY_CLASSES_ROOT\*\shell
    1. Add a new key called
      Hash
      1. Add the following Strings:
        1. Icon
        2. MUIVerb
          1. Add a Default value of
            Hash
        3. Position
        4. SubCommands
          1. Add a Default value of
            md5;sha512

Add md5 checksum to Hash menu

  1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell
  2. Add a new key
    md5
    1. Add a new key
      command
      1. Add a Default value of
        powershell -command $clip=Get-Clipboard; $md5=(Get-FileHash -Path \""%1"\" -Algorithm MD5).Hash; $equal=($clip -eq $md5); Write-Host "MD5: $md5"; Write-Host "Matches current clipboard: $equal"; Write-Host "Press any key to exit"; $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')

Add SHA512 checksum to Hash menu

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell

  1. Add a new key
    sha512
    1. Add a new key
      command
      1. Add a Default value of
        powershell -command $clip=Get-Clipboard; $sha512=(Get-FileHash -Path \""%1"\" -Algorithm sha512).Hash; $equal=($clip -eq $sha512); Write-Host "SHA512: $sha512"; Write-Host "Matches current clipboard: $equal"; Write-Host "Press any key to exit"; $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
windows/right-click.txt · Last modified: 2022/09/27 17:13 by Derg Enterprises