Custom command in right-click menu not working
- by Luke
I have added, via the registry, a right click menu option for all filetypes which is supposed to get the MD5 checksum for a file.
HKEY_CLASSES_ROOT*\shell\Checksum - Default: Get Checksum
and
HKEY_CLASSES_ROOT*\shell\Checksum\command - Default: checksum.cmd "%1"
checksum.cmd simply clears the screen, calls fciv.exe using %1 and then pauses.
Unfortunately, whilst the option "Get Checksum" appears correctly in the right click menu, it doesn't perform the right action when clicked. When I click it an "Open With" dialog opens, which is of course not what I want.
Both checksum.cmd and fciv.exe are in the PATH.
checksum.cmd:
@echo off
cls
fciv.exe %1
pause
Anybody know what's going on?