Answer by Lou for How to set file association in Windows Explorer?
Launch a command prompt.Associate the correct file group with .py scripts:assoc .py=Python.FileRedirect all Python files to the new executable:ftype Python.File=C:\Path\to\pythonw.exe "%1" %*
View ArticleAnswer by Hope for How to set file association in Windows Explorer?
On my system (Win7 x64, Anaconda2 and Anaconda3 installed), I needed to modify[HKEY_CLASSES_ROOT\py_auto_file\shell\open\command]by putting something like"C:\Anaconda3\python.exe""%1" %*in the default...
View ArticleAnswer by Aanand Kainth for How to set file association in Windows Explorer?
If you prefer not to screw around with the registry, newer versions of Windows have an alternate:Control Panel: Control Panel\Programs\Default Programs\Set AssociationsProgramsDefault ProgramsSet...
View ArticleAnswer by K.A.Monica for How to set file association in Windows Explorer?
New versions of Windows require Registry editing since the file association control panel does not allow you to specify parameter passing. One source suggests using this in a text file saved as...
View ArticleHow to set file association in Windows Explorer?
I have installed the Canopy Python package, and when I double-click a python file it opens the Canopy editor. I want clicking the file to run it, not edit it. I have changed the file properties to Type...
View Article