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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
48 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....
DownUnder62's user avatar
0 votes
1 answer
145 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 ...
DSSO21's user avatar
  • 13
0 votes
1 answer
57 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 ...
dr_'s user avatar
  • 4,494
1 vote
0 answers
69 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,...
SEPEHR's user avatar
  • 61
0 votes
0 answers
147 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 ...
hobbes3's user avatar
  • 1,013
0 votes
0 answers
50 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 ...
user2125853's user avatar
0 votes
2 answers
109 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 ...
Gerold Broser's user avatar
0 votes
0 answers
208 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 ...
ying's user avatar
  • 1
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 ...
Philip Oesterle-Pekrun's user avatar
0 votes
0 answers
87 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 ...
Zippy1970's user avatar
  • 143
2 votes
1 answer
9k 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 ...
LWC's user avatar
  • 946
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) ...
StickyChannel 92's user avatar
1 vote
0 answers
452 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, ...
javakx's user avatar
  • 11
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 ...
ChathurawinD's user avatar
0 votes
2 answers
119 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 ...
paki eng's user avatar
  • 205
-2 votes
1 answer
321 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 -&...
Chameleon's user avatar
  • 207
0 votes
1 answer
126 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 ...
StickyChannel 92's user avatar
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 ...
ahon's user avatar
  • 13
0 votes
2 answers
426 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 "...
WingedKnight's user avatar
0 votes
0 answers
106 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 ...
thisistemporary's user avatar
3 votes
1 answer
4k 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 ...
Matthew Cordaro's user avatar
-3 votes
1 answer
893 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 ...
dataman's user avatar
  • 17
1 vote
0 answers
44 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 ...
Anonymous's user avatar
2 votes
1 answer
737 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 ...
YorSubs's user avatar
  • 909
1 vote
1 answer
536 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 ...
Tần Quảng's user avatar
2 votes
0 answers
517 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 ...
user9564371's user avatar
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" &...
Karl S.'s user avatar
  • 101
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 ...
Ender_sys's user avatar
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="...
Clayton Seager's user avatar
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 ...
Endy Tjahjono's user avatar
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. ...
Sylvester DeMouser's user avatar
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 ...
Charles's user avatar
  • 257
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 ...
AntonioC's user avatar
  • 187
0 votes
1 answer
431 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\...
WinMacLinUser's user avatar
0 votes
0 answers
176 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 ...
Hao S's user avatar
  • 131
0 votes
1 answer
48 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, ...
Dominique's user avatar
  • 2,243
1 vote
0 answers
310 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?
brikas's user avatar
  • 111
4 votes
0 answers
406 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....
ss1789's user avatar
  • 141
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 ...
Cody's user avatar
  • 111
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 ...
Dominik's user avatar
  • 158
12 votes
3 answers
13k 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 ...
mawcsco's user avatar
  • 933
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 ...
Mathias Rönnlund's user avatar
1 vote
2 answers
160 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 ...
Albin's user avatar
  • 10.6k
0 votes
0 answers
299 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 ...
Steve B's user avatar
  • 2,222
0 votes
0 answers
767 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 ...
Albin's user avatar
  • 10.6k
3 votes
2 answers
445 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 ...
Albin's user avatar
  • 10.6k
0 votes
1 answer
222 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 ...
ottodidakt's user avatar
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 ...
Alex Essilfie's user avatar
1 vote
0 answers
58 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 ...
user1207381's user avatar
1 vote
0 answers
460 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 ...
Sukessh Velusamy's user avatar

1
2 3 4 5
13