I want to run a .bat
file when any .exe
file (such as Firefox) is double clicked. I want to run this .bat
file when Firefox runs. Is there any way to do this?
I tried with this batch code:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\firefox.exe" /v Debugger /d "D:\Desktop\m.bat" /f
Here, m.bat
is the file which I want to run when Firefox runs.
No comments:
Post a Comment