Questions tagged [file-association]
In an operating system, the means of assigning a file extension or mime type to a particular application, as a default means of opening this type of file.
609
questions
1
vote
0
answers
42
views
Accessing file association information from shell in macOS Sonoma (14.3.1)
macOS used to use a plist at ~/Library/Preferences/com.apple.LaunchServices.plist to store file association information. Recently(ish) that file has moved and is now called ~/Library/Preferences/com....
0
votes
1
answer
54
views
New Teams Client not set as default App for Meetings on a fresh Machine which never had MS Teams (old) installed
On a fresh machine which never had the old teams installed the default setting for joining a meeting seems not to be set. The User has a roaming profile and had previously installed the old MS Teams ...
0
votes
1
answer
51
views
How to change the default action, in the called app, per file type in Windows 10?
I use Windows 10 and the default action when double-clicking on a MP3 file is to open it with VLC. However, the file just gets added to the playlist, without playing it. I'd like the default option ...
1
vote
0
answers
44
views
How can I associate one of the two versions of the Telegram app on a PC to open the Telegram link?
I have two versions of the Telegram app on my PC, one is portable and the other is installed. When I want to open a Telegram link through Chrome, it opens the link with the portable version of the app,...
0
votes
0
answers
104
views
Windows 11 (and Chrome) doesn't allow me to associate torrent magnet files
I'm using Transmission on Windows 11 and whenever I click on a magnet file in Chrome (which uses the OS file associations), I get the popup:
But when I go under Settings > Apps > Default apps ...
0
votes
0
answers
47
views
File association to javaws does not work
This is on Windows 10 platform. We associate .jsp files to 'javaws' program from under java installation. This used to work fine, with javaws launched to process the contents of the JSP file. This is ...
0
votes
2
answers
101
views
How to set a shell script as KDE file association
UPDATE
Disclaimer: Cross-posted to SUL (which I know is usually discouraged) How to set a shell script as KDE file association. Since with only 14 views and no response whatsoever within 3 days I do ...
0
votes
0
answers
169
views
how to set default way of opening *.java file in win11
It seems that we can't set default way of opening *.java file in the latest Windows 11
In options of "opening files", I can't see "default" option. I have also tried to change ...
1
vote
1
answer
34
views
In the Windows 10/11 Start menu, is there a way to set the search term to program/file/etc. association?
As you use the startup search and pick which program (or file/folder/etc.) you want to run, the search term and also the incomplete search term gets associated to that program. Like for example I have ...
0
votes
0
answers
83
views
After starting Edge, all default apps reset to MS apps
This is driving me nuts. Every time I (accidentally) start Edge, all default apps reset to the Windows defaults. So html pages and PDFs open in Edge. Text files open in Notepad (instead of what I had ...
2
votes
1
answer
8k
views
How to directly open Office attachments in "Try the New Outlook"?
When trying the new Outlook for desktop, each Office attachment has 3 options (with a little triangle):
Preview
Open in Word/Excel
Download
If I choose option 2 it just pops up a message to purchase ...
0
votes
0
answers
26
views
How do I change how a specific file extension is called in the details pane with its own icon?
I want to change the info here (in the details pane):
I want it to say what the file is used for and what it's called, and in this instance, I want it named "NES Game ROM" (for example) ...
1
vote
0
answers
408
views
How to stop Windows (11 Pro) from re-confirming app defaults after new software is installed?
I'm on Windows 11 Pro (22H2) -- is there any way to stop Windows from prompting to re-confirm default apps / file associations whenever new software is installed? I've tried Googling for a setting, ...
0
votes
2
answers
2k
views
Open .py file in Python IDLE edit mode on Windows 11
Recently I upgraded from Windows 10 to Windows 11. Then I reinstalled Python on my PC. Previously, when I right-clicked, it had the option in the context menu to edit the file with IDLE. When I ...
0
votes
2
answers
110
views
Windows keeps asking for MP4 software to use despite VLC Player selection
I have allocated VLC Player to open .mp4 files from Settings -> Default Apps -> Choose default apps by file type, see screenshot labeled Before. But when I try to open an mp4 file, it still ...
-2
votes
1
answer
297
views
Associate all file extensions which a program can handle, with that program
I have an audio program (lets say Foobar2000) which can play 100 type of audio files.
Is there a way in Windows 11, to reserve these 100 file extensions with Foobar2000 AT ONCE?
Because, on Settings -&...
0
votes
1
answer
116
views
How do I choose a default program to open one/more specific file(name)s?
I want to open specific files using different apps. But when it comes to editing different images, emulating ROMS, or opening different documents, there are special cases in which I have to use a ...
1
vote
2
answers
1k
views
Set Firefox Private Browsing as Windows default browser
In Windows 11, how do I set the default browser to be Firefox in Private Browsing? That is, I want all links launched from other programs to open in a private window in Firefox.
In the Windows 11 ...
0
votes
2
answers
392
views
Unable to remove entries in Windows File Explorer's New context menu which have no Registry ShellNew keys
On Windows File Explorer, I like to keep the New right-click context menu decluttered by removing most entries except those that I specifically want.
Thus, in the Registry, I delete (replacing "...
0
votes
0
answers
99
views
Why does .mhtml default app show up as Stable Chrome even though it opens Chrome Canary
So I have this interesting... thing on my computer (idk what to call it).
I noticed, that an .mhtml file I downloaded had "Microsoft Edge MHT Document" as the file type description in ...
3
votes
1
answer
3k
views
How do I get Windows 11 to ask which app to use to open a file type or a link type every time, once a default is set? (Or how to reset a default app?)
When opening a specific file (or clicking on a link in a program) Windows will use the default app, set under Setting > Apps > Default apps.
I would like to remove the default such that Windows ...
-3
votes
1
answer
858
views
How to open text files with .jpeg extension in Visual Studio Code?
I have Perl scripts that have a .jpeg file extension that I want to see the text code in Visual Studio Code when I select the file in the explorer, rather than VSCode trying to load it into the image ...
1
vote
0
answers
42
views
Fixing the broken .exe lin by associating the .exe to execfile prevents app from launching
Recently I started running into this issue that when I tried to open OneNote/Excel/PowerPoint, the .exe file would open up in Notepad.
I tried a bunch of things to solve this issue. A combination of ...
2
votes
1
answer
715
views
PowerShell, properly association .jar files with java.exe or javaw.exe
Using the answer from this question Copy Java installation to another system I can manually install Java (without running the installer) and port it to other systems. This works well.
However, I still ...
1
vote
1
answer
495
views
How to export and import all file extensions is being associated with a specific program?
I've associated some types of files to open with some specific programs. Now, I want to export all the associated data above and to import those to another computer.
For example: I want to export all ...
2
votes
0
answers
506
views
Is there a way to ease the pain of setting Windows 11 file associations?
I just used Windows 11 for the first time and the file association business there is really awful, I have to set every single extension one by one to my preferred application. Whereas on Windows 10, I ...
0
votes
1
answer
24
views
Pass along calling process when specifying open-with behavior for file types and protocols on Windows
To associate certain file types or protocols like https with a particular program it's possible to edit the registry and basically add an association that goes like this:
"C:\MyApp.exe" &...
0
votes
3
answers
2k
views
How can I install Outlook (PWA) for all users on a machine and set it to default for mailto?
I'm attempting to install Outlook (PWA) at the computer level or via group policy or via registry edit. I need users to be able to click mailto links and have Outlook (PWA) pop up for them to either ...
1
vote
0
answers
1k
views
Batch command to change default apps - Windows 10
I would like to include commands in my batch file that automatically sets the default apps for .html, .https and for Photos. I know how to change the file association by running:
ftype htmlfile="...
3
votes
1
answer
4k
views
Cannot set the default app to open PNG in Windows 11
I want to change the default app to open PNG files in my laptop. Usually I can do that by right clicking, click "open with", click "choose another app", and at the bottom of the ...
1
vote
1
answer
2k
views
Win 11 Regedit - set Default app for HTTP / HTTPS launch from app (e.g. npm run serve)
I want a specific web browser to open when a Windows app calls to open a web browser. I've seen various solutions specific to Chrome, for example, but I'm not interested in Chrome-specific solutions.
...
0
votes
0
answers
55
views
Windows (10) Special QtCreator command as default app for C & H-files
on one PC with Windows 10, I have this as the default app for C & H files, and I really like it :
This somehow calls on Qt Creator which assigns these nice icons (there are actually more for ...
3
votes
4
answers
5k
views
How do I open webp files with Microsoft Photo App?
I want to use the Windows 10 "Photos" app to view webp files.
"Photos" is a Microsoft App, and I can not open up C:\Program Files\WindowsApps.
It is security protected.
Because of ...
0
votes
1
answer
411
views
Trouble with registry key updating/uninstalling iTunes
I am trying to update iTunes and the updater fails. So I then decided to manually download the installer, however it then throws an error saying it could not open the registry key HKLM\Software\...
0
votes
0
answers
174
views
How do I make inkscape the default program for .eps files?
I installed Inkscape via the Microsoft store.
How do I make Inkscape the default program for .eps files? Also, how do I add Inkscape onto the list of programs that show under open with?
When I ...
0
votes
1
answer
44
views
Prove which application is used for opening log files: assoc and ftype seem unreliable on Windows-10
My customer has a problem with logfiles, which become too large: on their PC (windows-Server 2016) Notepad.exe is used as the application for opening such files. I've altered this to Notepad++.exe, ...
1
vote
0
answers
305
views
How to change default "Edit" programs for .ahk file extension in Windows? [closed]
I need to change the default "Edit" program for file extension .ahk to Sublime Text in Windows.
How do I do that?
4
votes
0
answers
393
views
assoc & ftype stops working on Windows 11
In Win 10 I successfully associated .lyx files to launch LyX using a specific userdir with the following in cmd as admin:
assoc .lyx=LyX.Document
ftype lyx.document="C:\Program Files (x86)\LyX 2....
1
vote
2
answers
2k
views
How do I change the default browser to open .htm and .html files in Windows 11
I know this has been asked and answered in the past, BUT the other articles show that these file types should be able to be set in the settings through APPS>DEFAULT APPS>FIREFOX but Firefox and ...
2
votes
1
answer
1k
views
Open text file on click in vim on windows terminal
I want to use Vim as my default text editor on Windows 10 (not gVim but the terminal version I installed on wsl). I already made the following setting via cmd.exe:
>ftype txtfile
txtfile=wt ...
12
votes
3
answers
12k
views
How Do I Set Another Program as JPG Default in Windows 11
My computer was recently upgraded to Windows 11 and my default program for JPEG (.jpg, .jpeg) was changed from my preferred program of JPEGView to Photos (Windows default app). Photos takes a while to ...
1
vote
2
answers
1k
views
Every time Edge opens on my work computer it sets itself as default browser
Every time I start the Edge browser on my work computer it sets itself as default browser. This does not happen on my home computer, where Chrome stays the default browser even though I start Edge.
Is ...
1
vote
2
answers
159
views
Is it possible to use `assoc` and/or `ftype` with wildcard characters?
I tried to use assoc together with a wildcard character something like this: assoc .doc* which hopefully would give me docx as well as docm as a result (and any other).
Unfortunately it's either ...
0
votes
0
answers
297
views
How to associate RDG files to the RDC Manager shipped with sysinternals when sysinternals comes from the MS Store?
I installed the sysinternals suite from the Windows store.
This includes Microsoft Remote Desktop Manager.
However, this setup does not create file associations.
How to associate RDG files to this app ...
0
votes
0
answers
707
views
Changing File Associations via assoc
I'm trying to change file associations via assoc (CLI), but I can't get assoc to show me the current default program:
assoc .txt
Returns: .txt=txtfile
and
assoc txtfile
Returns: txtfile=Text ...
3
votes
2
answers
428
views
Open the legacy Control Panel "File Associations" (or s.th. similar) in Win10
Is it possible to open the legacy Control Panel "File Associations" in Windows 10? I'm talking about this one:
I tired several options but it just refers me to the "new" settings ...
0
votes
1
answer
215
views
How to make Microsoft apps use Edge although my default browser is Firefox?
I use Firefox as my default browser on Windows11 but I'd like Edge to be used when I click a link inside Microsoft apps like Teams/Office/OneNote etc. Based on my research, I don't think this is ...
10
votes
4
answers
4k
views
Is there any straightforward way to replace notepad.exe in Windows 11?
After upgrading to Win 11 a bit over a week ago, I found that my Image File Execution (i.e. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe) replacement for ...
1
vote
0
answers
56
views
How do I remove old x86 File Association if Replaced with 64 bit program with the same name?
I originally had x86 Notepad++ and made it my opening program for a lot of file types..
I then switched to 64-bit Notepad ++, but now my file associations look like this.
Is their any way to remove ...
1
vote
0
answers
450
views
How to change the app associated to a protocol to one that doesn't appear in the available app list?
I want to change the app associated to the 'ms-word' protocol to Apache's OpenOffice (reasons for doing so can be found here). However, when I go to the Choose default apps by protocol menu, and try ...