Proper set-up for a co-existant python 2.6 & 3.1 installation

Martin v. Loewis martin at v.loewis.de
Mon Aug 23 18:55:30 EDT 2010


> I tried to change file associations, first manually, in a CMD window.
> But the system was responding "access denied" even when I used an
> Administrator account (I was using FTYPE python.file="C:
> \Python26\python.exe" "%1" %*).

That works, in principle. Put that command into py26.bat, then, in
Explorer, Run As Administrator. Make sure to double-escape the percent
signs.

Alternatively, you can also write a program that writes to
HKEY_CURRENT_USER; that would take precedence over HKEY_LOCAL_MACHINE.

Regards,
Martin



More information about the Python-list mailing list