Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a context menu item with this line:

"C:\Documents and Settings\mmurphy\My Documents\My Tools\WinMerge-2.12.0-exe\WinMergeU.exe" /s "%1" "%2"

I selected two files and expected when I clicked on the menu item it would open the executable and pass those two files in as arguments. What happened was it opened two separate instances of the application and passed only one of the arguments to each instance of the app.

How would I do this so that I can select two files, right click on them and execute my app so that the two files I have selected get passed in as arguments for only one instance of the app?


share|improve this question

closed as too localized by studiohack Feb 21 '12 at 4:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

I soved my problem... sorta...I'm using a different compare program... instead of using WinMerge (free) my company bought us copies of UltraCompare (not free) ... it has a context menu item that does exactly what I want.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .