Assigned the .conf file type to always open with Adobe Illustrator. How to revert back?

I am using Windows 10 and I accidentally made Adobe Illustrator the default program to open .conf files. I believe this is messing with my other programs and need to revert this back to whatever it was by default. Answer Go to Control Panel -> Programs -> Default Programs -> Set Default Programs. You will … Read more

Why is the first command-line parameter in this Windows file association set apart?

Reading this answer to a more specific question, I wonder why the first argument is “kind of” set apart in this command line used to associate the .sh file extension: “C:\cygwin\bin\bash.exe” -li “%1” %* Isn’t it sufficient to just put %* there, i.e., leave out the “%1” – and won’t the script name itself appear … Read more

Weird image file association in windows 10 after update

I’m on windows 10 and I have Paint associated to some image file extension, e.g. *.png. Since a recent update (either 1809, build 17763.475 or slightly earlier) when I double click a png file, it is printed rather than opened. The same thing happen if I associate the png to something else and right click->open … Read more

How do I set advance file association in Windows 10 (while passing app parameter to open)

I’m trying to set default to open Tableau workbooks with a connector option, and using connector argument before filename, am I doing the below right? Below from the command prompt is working fine “C:\Program Files\Tableau\Tableau 2019.1\bin\tableau.exe” -DConnectPluginsPath=C:\Users\Administrator\AppData\Roaming\connector C:\Users\Administrator\Desktop\Book1.twb But not working using ftype association ftype myfile=”C:\Program Files\Tableau\Tableau 2019.1\bin\tableau.exe -DConnectPluginsPath=C:\Users\Administrator\AppData\Roaming\connector” %1 assoc .twb=myfile regsvr32 /i shell32.dll … Read more

In Windows 10, what default behavior can I expect when a file extension association exists, but a File Type Open Command String has not been set?

Installation of Strawberry Perl 5.30.0.1 inspired this question. Users of Active Perl have reported problems with the <FileType>=<OpenCommandString> pairs created during the installation of Active Perl. For example, ftype perl at the command prompt returned perl=”C:\Perl\bin\perl.exe” “%1″. The named pair should have read perl=”C:\Perl\bin\perl.exe” “%1” %* if you wanted the invocation of file.perl arg1 arg2 … Read more

Even though LibreOffice Writer is the default program for opening .doc MS Word still opens

Writer opens the file normally, but a really annoying pop-up, owned by a winword.exe (MS Word process), appears. One that says that Word isn’t the default program for modifying files. It has a “Don’t show this message again” checkbox, but it doesn’t do anything. And another window also made by winword.exe that says: “MS Word … Read more

Restore edge/epub association AND behavior AND icon

I could not have epub files open by edge back. I tried to associate the program %windir%\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe but edge just would not lauch (nothing happens). I restored the recommended files association, and had pdf and html files open by edge. I saw that in the registry there is this: [HKEY_CURRENT_USER\Software\Classes\.pdf\OpenWithProgids] “FirefoxHTML”=”” “AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723″=hex(0): I created a … Read more

Default App Association set by user resets after next logon

I am running into a situation whereby the default application for opening pdfs was changed to PDF-Xchange instead of Adobe and Mail to Outlook 2010, 2016 instead of the built-in default Microsoft Mail app. These changes were made after retrieving the valid hashes for both applications via Reg Queries and then referencing the respective entries … Read more

File assocations inconsistent behaviour with Windows 10

After updating Python, my file associations somehow got messed up and I have been trying to get them to behave. Here’s my test program PyArgs.py: import sys, os print (“Arguments count : ” + str (len (sys.argv))) print (“Arguments : ” + str (sys.argv)) print (“Python version : ” + sys.version) ; print (“Python executable: … Read more