Verify file Checksum in Windows with context menu
Checking the integrity of a file on a unix node is simple thanks to a confusingly named “checksum” utility. It, oddly enough gives you the checksum of a file.
If your stuck on (or just love) windows, you can give yourself the ability to check any files checksum with the click of a mouse.
Download Microsoft’s FCIV.exe
You can download their unsupported command line utility fciv from the following link, http://support.microsoft.com/kb/841290.
If you have another tool, you may substitute and move on.
1. Create a simple Batch file
..to run the checksum utility of your choice, and then pause
@echo off :: edward a webb :: June 6 2011 :: runs micorsofts fciv command line tool against file and wiats, fort use as context menu :: http://edwardawebb.com/?p=955 cls fciv.exe %1 pause
2. Drop both onto your PATH
You can either add them to you system variables , or drop them in a folder like <x>:\windows\system 32. I’m lazy and did the latter.
3. Add the batch file as an context menu option
Just save the file below, right click and merge into your registry. It makes any file’s right click menu include the value of the first key as the text you’ll see, and the value of the second (“command”) key, the actual command to be run. Substitute “%1” for the file (yes use double-quotes escaped in case the file your checking is on a path with spaces).
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Checksum] @="Verify CHecksum" [HKEY_CLASSES_ROOT\*\shell\Checksum\Command] @="verify-checksum.bat \"%1\""
That’s it, the changes are effective immediately, so try it out.