So I've made a shortcut for testing purposes, and here's the target:
"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -connect 111.222.333.444:1 -notoolbar -nostatus -quickoption 3
As you can see I'm trying to pass the ip argument as %1 however it's not working (yes I'm using a working ip, as I connect to it on a regular basis using that shortcut I made):
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\vnc]
@="URL:vnc Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\vnc\shell\open\command]
@="\"C:\\Program Files\\uvnc bvba\\UltraVNC\\vncviewer.exe\" -connect %1:1 -notoolbar -nostatus -quickoption 3"