1

I added menu item to Windows context menu based on this tutorial: link I run BAT file instead of notepad.exe. My BAT file runs "del" command. It works fine with all files except files ending with ".exe". System runs the executable instead of running the script. I guess there is conflict somewhere in registry. The point of script is that del command does not move files to bin.

How do I repair it?

EDIT 1:

BAT file contains:

@echo off
del %1 /F /Q > nul
exit

output from reg query "HKCR_CURRENT_USER..*\shell\QuickDel\command":

C:\MyWindowsScripts\QuickDel.bat "%1"
2
  • Please edit your question to include your batch file.
    – DavidPostill
    Sep 14, 2015 at 13:45
  • Please edit your question to include your batch file and output from reg query "HKCR\*\shell\YourMenuName\Command"
    – JosefZ
    Sep 14, 2015 at 14:04

0

You must log in to answer this question.

Browse other questions tagged .