OK Thanks again.
I am using Win7 64 bit. I removed the regedit key I'd manually added. Then I ran a cmd file, which resulted in the enties shown in the image.
I exported the netlist key, and got this
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\LTspice.Netlist]
[HKEY_CLASSES_ROOT\LTspice.Netlist\Shell]
[HKEY_CLASSES_ROOT\LTspice.Netlist\Shell\Open]
[HKEY_CLASSES_ROOT\LTspice.Netlist\Shell\Open\Command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,4c,00,54,00,43,00,5c,00,4c,00,54,00,\
73,00,70,00,69,00,63,00,65,00,58,00,56,00,49,00,49,00,5c,00,58,00,56,00,49,\
00,49,00,78,00,36,00,34,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,\
31,00,22,00,00,00
That final hex entry looks OK in regedit i.e.
"C:\Program Files\LTC\LTspiceXVII\XVIIx64.exe" "%1"
But several bits like the key
[HKEY_CLASSES_ROOT\LTspice.Netlist\shell\open\ddeexec]
are absent, so I can try adding those bits manually