Skip to content

Instantly share code, notes, and snippets.

@aykxt
Created February 16, 2021 21:58
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save aykxt/1aff15ba794061b8b4dc47e5aa1175e6 to your computer and use it in GitHub Desktop.
Save aykxt/1aff15ba794061b8b4dc47e5aa1175e6 to your computer and use it in GitHub Desktop.
VLC URL protocol handler for "vlc://" links on Windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\vlc]
@="URL:VLC Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\vlc\DefaultIcon]
@="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe,0"
[HKEY_CLASSES_ROOT\vlc\shell]
[HKEY_CLASSES_ROOT\vlc\shell\open]
[HKEY_CLASSES_ROOT\vlc\shell\open\command]
@="cmd /V:ON /c set url=%1 && call set url=%%url:~6%% && start \"\" \"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" --open !url!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment