is it possible to have multiple config / preference files?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
pjs
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2018 06:33

is it possible to have multiple config / preference files?

Postby pjs » 25 Oct 2018 07:20

I installed 32-bit and 64-bit VLC to try to have two configs but apparently they both share the same config file in %AppData%vlc. That is unfortunate. Is there a way I could "hack" one of the VLC installations, say, the 32-bit version, to specify a different location/path for the config file? I need the actual .EXE and not a shortcut to point to a 2nd config file so I can have 2 configs, one for audio and one for video. Shortcuts will not work for this usage.

I need something like this:
VIDEO = "C:\Program Files\VideoLAN\VLC" -----> points to "%AppData\Roaming\vlc\vlcrc"
AUDIO = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -----> points to "%AppData\Roaming\vlc\vlcrc2"

Any ideas?

Thank you.

Lotesdelere
Cone Master
Cone Master
Posts: 9985
Joined: 08 Sep 2006 04:39
Location: Europe

Re: is it possible to have multiple config / preference files?

Postby Lotesdelere » 25 Oct 2018 10:45

VLC.exe --config="P:ath\to\vlcrc"

pjs
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2018 06:33

Re: is it possible to have multiple config / preference files?

Postby pjs » 25 Oct 2018 22:56

That's for a shortcut isn't it? Shortcuts won't be adequate for this usage.

Is there a way to apply that parameter to the actual .EXE and not a shortcut? Perhaps that's what you meant but I just don't know how. If so, how can I apply it to the .EXE and not a shortcut?

pjs
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2018 06:33

Re: is it possible to have multiple config / preference files?

Postby pjs » 26 Oct 2018 08:25

VLC.exe --config="P:ath\to\vlcrc"
This command was useful afterall. After Googling around I found a third party program called "Default Programs Editor" that can do advanced file associations. Windows used to have this feature built in but they removed it around Windows 8 or so. Technically, it can still be done via registry but it is very complicated. Basically, the program allows me to add command parameters, like the VLC one you provided, to all the various extensions associated with a program. So, I was able to change all audio extensions to point to C:\...vlc.exe" --config="...vlcrc-audio" and all video extensions to C:\...vlc.exe" --config="...vlcrc-video". So now I have two VLC configs in my %appdata/vlc folder: vlcrc-audio & vlcrc-video. This is a valid workaround to my issue. It even works for AutoPlay so now a music CD will correctly launch with visualizations and a DVD will not have the visualization blocking video.

Thanks!

saaaar
New Cone
New Cone
Posts: 1
Joined: 21 Nov 2024 19:36

Re: is it possible to have multiple config / preference files?

Postby saaaar » 21 Nov 2024 19:41

This command was useful afterall.
I need this, can you tell me more? I also love the visualizer, but it also shows when you start the video!
Please! :)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 45 guests