More > JRiver Media Center 20 for Windows

MC20.exe --- trying to rename it...

(1/5) > >>

BabyFace:
Because I'll be running MC19 and MC20 for a while... and because I have so many girder commands and batch files and icons set up to use MCxx.exe commands...

I thought I'd try renaming it to MCXX.exe and then change all my girder commands and batch files and icons to call MCXX.exe.  Then could simply copy MC19.exe or MC20.exe to MCxx.exe and all my programs would work no matter what version of MC I was using...

Doesn't work.  Unless the command is named MC20.exe it will not control MediaCenter20.

I'm guessing that the MC20.exe command is actually checking the program file name for the 20 to know what version of MediaCenter to communicate with.

Does anyone have any other idea how to make this work? ??

Matt:
How about a batch file that takes a launcher path as a variable?  That way all your code stays the same and only the batch file at the front changes depending on the version.

BabyFace:

--- Quote from: Matt on August 22, 2014, 03:18:40 pm ---How about a batch file that takes a launcher path as a variable?  That way all your code stays the same and only the batch file at the front changes depending on the version.

--- End quote ---

Not sure I understand.

I suppose I could write a batch file that has internal variable with the version 19 or 20 and then takes command line args and passes them on to the resolved MCxx.exe name.

Is that what you are suggesting?

Of course then a DOS window pops up with each call to the batch file, but I know of ways to suppress that.

Matt:

--- Quote from: DoubtingThomas on August 22, 2014, 03:27:41 pm ---I suppose I could write a batch file that has internal variable with the version 19 or 20 and then takes command line args and passes them on to the resolved MCxx.exe name.

Is that what you are suggesting?

--- End quote ---

Yes.

BabyFace:

--- Quote from: Matt on August 22, 2014, 03:47:22 pm ---Yes.

--- End quote ---

Thanks for the idea, implementing it now... it will take work, but once done it will work for MC21++ too.

I tried symbolic links too, didn't work.

Navigation

[0] Message Index

[#] Next page

Go to full version