IT之家學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單

0
21

感謝TechRoomage網友 莫問霜飛 的投稿

此前TechRoomage曾發布文章:TechRoomage學院:在文件右鍵菜單中添加哈希值校驗選項,有網友詢問是否可以把幾個哈希演算法都添加到文件右鍵菜單,最好是能層疊菜單。

TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單” data-original=”https:[email protected]wm_1,k_aW1hZ2VzL3F3LnBuZw==,y_20,o_60,x_20,g_7″ alt=”TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單”>

TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單” data-original=”https:[email protected]wm_1,k_aW1hZ2VzL3F3LnBuZw==,y_20,o_60,x_20,g_7″ alt=”TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單”>

層疊菜單嘛,誰不會啊?於是就研(必)究(應)了一下,居然成功了,不敢藏私,下面就分享給大家。複製以下內容,粘貼到文本文件中,保存為.reg文件。

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT/*/shell/文件哈希校驗]

"SubCommands"="MACTripleDES;MD5;RIPEMD160;SHA1;SHA256;SHA384;SHA512"

"MUIVerb"="文件哈希校驗"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/MACTripleDES]

@="MACTripleDES"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/MACTripleDES/command]

@="PowerShell Get-FileHash -Algorithm MACTripleDES ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/MD5]

@="MD5"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/MD5/command]

@="PowerShell Get-FileHash -Algorithm MD5 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/RIPEMD160]

@="RIPEMD160"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/RIPEMD160/command]

@="PowerShell Get-FileHash -Algorithm RIPEMD160 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA1]

@="SHA1"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA1/command]

@="PowerShell Get-FileHash -Algorithm SHA1 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA256]

@="SHA256"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA256/command]

@="PowerShell Get-FileHash -Algorithm SHA256 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA384]

@="SHA384"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA384/command]

@="PowerShell Get-FileHash -Algorithm SHA384 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA512]

@="SHA512"

[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/CommandStore/shell/SHA512/command]

@="PowerShell Get-FileHash -Algorithm SHA512 ///"%1///" | format-list;「按任意鍵退出…」;[Console]::Readkey() | Out-Null;exit"

保存好后直接雙擊打開添加到註冊表,獻上效果圖:

TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單” data-original=”https:[email protected]wm_1,k_aW1hZ2VzL3F3LnBuZw==,y_20,o_60,x_20,g_7″ alt=”TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單”>

▲右鍵菜單效果

TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單” data-original=”https:[email protected]wm_1,k_aW1hZ2VzL3F3LnBuZw==,y_20,o_60,x_20,g_7″ alt=”TechRoomage學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單”>

▲多種哈希演算法校驗效果圖

轉載文章請附上來源:IT之家學院:把所有哈希值校驗演算法添加到文件右鍵層疊菜單科技空間 TechRoomage

Facebook Comments