More > JRiver Media Center 20 for Windows
MC20.exe --- trying to rename it...
glynor:
Recommendation:
Do it in VBScript instead and use COM. You can then have it always launch the currently registered MC, and not have to call mc##.exe at all, you won't need to specify the version on the command line, and you won't have to change anything at all when MC21 comes along.
I've meant to do this for quite some time to fix up my Girder setup, which is the main thing that keeps me lagging on old versions of MC for a while (lazy).
Plus, WSF scripts don't show any UI, including the black command window (even minimized).
BabyFace:
--- Quote from: glynor on August 22, 2014, 04:48:44 pm ---Recommendation:
Do it in VBScript instead and use COM. You can then have it always launch the currently registered MC, and not have to call mc##.exe at all, you won't need to specify the version on the command line, and you won't have to change anything at all when MC21 comes along.
I've meant to do this for quite some time to fix up my Girder setup, which is the main thing that keeps me lagging on old versions of MC for a while (lazy).
Plus, WSF scripts don't show any UI, including the black command window (even minimized).
--- End quote ---
Well then I'd have to learn VBScript and COM. I spent my career programming on UNIX boxes doing mostly back end data processing in C, C++ and later Java. I had to do some Web development, I hated it, it was all spaghetti code to me. And LOL... you haven't done it yet either !!!!
glynor:
I thought of a cool way to do it. There will be more in a little bit, if I feel motivated this weekend.
BabyFace:
DOS batch files SUCK. It automatically changes commas to spaces in command line args.
AUser:
--- Quote from: DoubtingThomas on August 22, 2014, 08:34:50 pm ---DOS batch files SUCK. It automatically changes commas to spaces in command line args.
--- End quote ---
Either you're doing something wrong or you've found a problem that nobody else has - commas work fine
Unless explorer isn't quoting a filename for instance, tbh the easiest way to get explorer to quote everything is to have a space in the filename or path
Quotes and %~1 (to unquote) are your friends with parameters
Exclamation points (in FOR expansion) and the ampersand character can be tricky though
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version