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
0 votes
2 answers
39 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
21 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
0 votes
1 answer
37 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
245 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
1 vote
0 answers
19 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
200 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
  • 599
1 vote
1 answer
98 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
75 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
21 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
2 answers
540 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
538 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
2 votes
1 answer
1k 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
0 votes
0 answers
562 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
250 views

Task Scheduler opens file with OpenWith.exe and nested quotes arguments incorrectly

I have associated the ".sh" extension with "C:\msys64\mingw64.exe" so that shell scripts open in MSYS2. This works when I double click on the scripts from explorer, but when ...
goweon's user avatar
  • 1,638
0 votes
0 answers
34 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
  • 175
2 votes
3 answers
2k 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
  • 157
0 votes
1 answer
164 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
91 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
25 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
  • 1,929
1 vote
0 answers
207 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
  • 11
1 vote
0 answers
216 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
  • 111
1 vote
1 answer
1k 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
895 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
  • 123
5 votes
3 answers
6k 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
  • 783
1 vote
2 answers
841 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
124 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
  • 9,117
0 votes
0 answers
161 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,142
0 votes
0 answers
253 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
  • 9,117
3 votes
2 answers
221 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
  • 9,117
0 votes
1 answer
78 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
9 votes
4 answers
3k 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
43 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
285 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 vote
1 answer
338 views

How to set a Default Program and include a parameter switch?

How would I add a parameter to the default program that I’m wanting to set? I love the ShareX image editor and I would like to make it the default image editor for Windows 10. However, when I select ...
Fire Starter's user avatar
1 vote
2 answers
74 views

How to create multiple Windows file extensions with different descriptions but identical actions?

In Windows 7, is it possible to have different file extensions with unique description names, but all the same actions, without duplicating all the actions (for each extension) in the Windows registry?...
RockPaperLz- Mask it or Casket's user avatar
3 votes
1 answer
722 views

In Windows 10, how can we set an application to be the default for all of its supported file types?

I don't have much experience with the newer versions of Windows, and I'm having trouble doing something that I remember used to be possible in Windows 7. When a program is installed, it was possible ...
ayane_m's user avatar
  • 251
0 votes
1 answer
24 views

Is it possible to entirely replace one app from another in all defaults?

Let us say I want to replace PowerPoint with another presentation software for all the extensions it is currently the default application (.pptx,.ppt,.ppsx, etc.). Is it possible to do that all at ...
Martund's user avatar
  • 101
0 votes
1 answer
952 views

Microsoft Edge listed twice in default apps

I have Microsoft Edge listed twice in my Windows 10 default apps and one of the entries has no icon. Is there any way of fixing this, or at least figuring out why it's listed twice (either via the ...
Simon Morgan's user avatar
0 votes
2 answers
219 views

How to use the "Share" function of MS Office with Gmail + Chrome

I am using MS Office 365 (more specifically, Powerpoint v. 2105) on Windows 10. I am used to sharing files in a couple of keystrokes by going to File > Share, then sending a copy of my ppt ...
Alexandre d'Entraigues's user avatar
2 votes
1 answer
173 views

How to associate a command with files that have no extension (Regedit)

I have several processes that generate files with no extension at all and would like to add a custom context menu menu (i.e. be able to right click on them and select 'open in Notepad' or 'make .txt ...
Martin's user avatar
  • 1,378
-1 votes
1 answer
128 views

Enable direct/native running of .ps1 files -- Warnings / Considerations

❔ Enable native/direct execution of .ps1 scripts - Warnings / Considerations Intro: Recently, I have been doing a lot more scripting, both in PowerShell (.ps1) and Console/Shell (.cmd/.bat). I ...
Martin's user avatar
  • 1,378
-1 votes
1 answer
213 views

Enable direct/native running of .ps1 files -- How To

✅ Enable native/direct execution of .ps1 scripts - How To In other words: treating .ps1 files the same as .cmd or .bat files - whereby you can double-click or type their name from the console/shell ...
Martin's user avatar
  • 1,378
2 votes
3 answers
79 views

Syntax to specify a file, then the application to handle it

Consider a .m3u (video playlist) file. We can open this in several quite different applications, for example... C:\Program Files\VLC\VLC.exe --> Read the file and play a series of video it ...
Martin's user avatar
  • 1,378
2 votes
3 answers
2k views

Stop WhatsApp Desktop App from opening on api.whatsapp.com links, run WhatsApp web instead

I have a personal and a business WA account. I use WhatsApp Desktop app for personal use. When I click on api.whatsapp.com links, I mean to open the web app where I can send a message from my business ...
Robot Boy's user avatar
  • 155
5 votes
3 answers
1k views

Windows .exe file association broken - every program (incl cmd, regedit, notepad, taskmgr) launches Excel - Not a dup

THIS IS NOT A DUPLICATE - I HAVE TRIED THE EXISTING REMEDY I have already read all the SU posts on repairing a broken .EXE file association, and also read the Microsoft article. All of these make the ...
Ex Umbris's user avatar
  • 1,159
1 vote
2 answers
547 views

Can I set default program for unknown/not registered extensions in Windows 10?

My question is similar to this (very useful, check it out!): How to set the default program for opening files without an extension in Windows? but I'm struggling with hidden Linux files. Linux hidden ...
Kamil's user avatar
  • 2,666
0 votes
1 answer
149 views

Reset "Open with calibre" options

I gave my laptop to my sister for some time now I have this thing popping up on every Document file I try to open.
Sohil Ahmed's user avatar
0 votes
0 answers
184 views

Set default browser on multiple remote computers that are not on the domain

I am trying to set the default browser on multiple remote computers that are not on the domain. There are more than 200 computers, so it would be very time consuming to do it manually. The remote ...
Zoran Jankov's user avatar
0 votes
0 answers
133 views

How to remove file assosiations for particular file types

How can I remove file associations in Kali Linux. I accidently made my firefox download file with .part extension open with video player as default. I looked in the /etc/xfce4/defaults.list but it is ...
Nidheesh's user avatar
0 votes
0 answers
309 views

Change default behavior of a check box

When I double click a file that doesn't have a program associated with it, I get the How do you want to open this file? dialog box where I can chose a program, the problem is Always use this app to ...
user10191234's user avatar

1
2 3 4 5
12