The Easy Way to Verify Files Using SendTo MD5

Written by

in

You can quickly generate MD5 hashes in Windows by adding a shortcut to your SendTo folder that leverages PowerShell.

This lets you right-click any file, click “Send to,” and instantly see its hash. Step 1: Open the SendTo Folder Press Windows Key + R to open the Run dialog box. Type shell:sendto and press Enter.

A File Explorer window will open to your user account’s SendTo folder. Step 2: Create the Hash Tool Shortcut Right-click an empty space inside the SendTo folder. Hover over New and select Shortcut.

Paste the following single-line command into the location box:

cmd.exe /k powershell -noexit -command “Get-FileHash ‘%1’ -Algorithm MD5 | Format-List” Use code with caution. Click Next. Name the shortcut something clear, like Get MD5 Hash. Click Finish. Step 3: How to Use It Locate any file you want to verify in File Explorer. Right-click the file. Hover over Send to and click Get MD5 Hash.

A command prompt window will pop up displaying the file path, the MD5 algorithm name, and the generated hash string. Why This Works

cmd.exe /k: Opens the command prompt window and keeps it open so you can copy the text.

powershell: Calls Windows PowerShell to do the heavy lifting.

Get-FileHash: The native Windows utility that calculates file signatures.

-Algorithm MD5: Tells the system to use MD5 instead of the default SHA-256. To advance your setup, let me know if you would like to: Modify the command to generate SHA-256 hashes instead Learn how to output the hash automatically to a text file

Create a script that copies the hash directly to your clipboard

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *