Not sure if this is the best forum to post in but here is what I want to do.
I use a program called "ForceBindIP" to bind a specific network adapter to the program I am running. I would like to add an additional context list item to all shortcuts (or specific ones if I can't do that) that allows me to easily choose which IP should be bound. The problem with this is that the command run by the context list item needs to be morphing, or rather, interpretive of what shortcut its on. Example:
shortcut to halo.exe:
Right Click > Open
'C:\Program Files\Halo\Halo.exe'
Right Click > Bind to IP2
'C:\forcebindip.exe 192.168.3.4 "C:\Program Files\Halo\Halo.exe"'
The problem with doing this is that I need the context item to get the final command ("C:\Program Files\Halo\Halo.exe") from the shortcut that you are currently clicking on. Any Ideas? I am currently using custom extensions for each shortcut with two seperate commands each, but the main problem with this is that it must be done for every new shortcut. For example my halo shortcut is Halo.sh2 with the .sh2 extension given two separate handlers for the item, one runs normally, and one binds the IP to that program.
Sorry for the really crazy thought organization in this post. Hope it makes sense.
Thank You all in advance. I will keep up to date on this as I progress with this matter.