I am trying to associate two file extensions with my program (an .exe file), lets say that they are ext1
& ext2
.
I want to associate ext1
files with my program in a way that if it is shell executed, this commandline (or command) should run\execute:
my_program.exe shell_execute ext1 "<full path of the file>"
Similarly for ext2
:
my_program.exe shell_execute ext2 "<full path of the file>"
How do I associate the file extensions to my program?