This is the command that is executed if I use it on startup "C:\Program Files (x86)\J River\Media Center 20\Media Center 20.exe" /Boot
Using this command brings the UI to the desktop.
That isn't the right command line. Media Center's main executable (Media Center 20.exe) does not take any command line options. If you run that, it will always launch the full UI and ignore any parameters given. Media Center uses a
separate command line launcher applet for all command line options, which is in your Windows System32 directory (and so is always in your default search path).
The proper command line to do what you were trying to do above is:
mc20.exe /MediaServerThis is explained here:
http://wiki.jriver.com/index.php/The_Command_LineHowever, as I said above, if you're just trying to use MC in "Media Server" mode, then you don't need to do any of that, and it will work better if you don't. Just set the option Jim explained:
Tools > Options > Startup > Windows Startup > Run on Windows Startup: Media Server
And it does it for you. That also has the benefit that if you later do open the main UI, it will automatically go back into Media Server mode whenever you close the main UI. I'm not sure if using /MediaServer works that way (though it probably does, I'd have to test). In any case, while you can script it yourself, that's probably silly, since you could just enable the supported option which does the same thing.