On 7/18/2011 2:13 PM, Vinay Sajip wrote:
Remember that there are two sets of locations - HKCU and HKLM - where the type
associations are potentially held. Please do a registry search (with
Administrator rights so you can search the whole registry) for "py.exe" or
"pyw.exe" and see if they show up anywhere at all. The launcher code tries to
add these keys in HKEY_CLASSES_ROOT, but I believe Windows can map this to HKCU
rather than HKLM if you don't have administrator access, at least on XP.

Oh, and I'm running Windows 7 64-bit, but most of my registry knowledge was learned on Win2K and XP, and I have no knowledge of what they did in Vista or 7, and haven't yet attempted to research such.

I am running as an administrator, but a much more ignorant one on 7 than I was on XP.

I have no idea why CMD would show an ftype Python.File as one thing, but then the execution would use something from the registry that is different.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to