Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
43 views

`.TXT` file association to Notepad++ “stopped working”

I recently formatted and then reinstalled everything, but oddly now, Windows 7 refuses to let me set Notepad++ as the default .TXT editor. I try to set the "open with" file as usual: right click ...
0
votes
2answers
64 views

Windows 10 not associating filetypes with applications

Going into any given files properties, and changing the "open with" property has not affect on anything that isn't a default windows application. Example: https://gph.is/2yV5dRY
2
votes
1answer
75 views

SSMS wont give up file associations

Apparently this is a known Win10 bug and should hopefully be fixed in an upcoming update. I have installed SQL Server Management Studio v17.9 on a clean Windows 10 installation. This associated all ....
0
votes
0answers
28 views

Windows 10 is not updating Open With setting in file properties [duplicate]

I'm trying to simply change the default application for .txt files in Windows 10 Pro (version 1803, build 17134.376). I tried file properties and selecting the application. I can select the ...
1
vote
0answers
44 views

Windows 10 cannot change file associations [duplicate]

I recently bought a new Windows 10 computer. Installation of my apps without a hitch. I would like to the default file associations. For example I would like .GIF to open with Adobe Fireworks and ....
0
votes
0answers
38 views

How is it possible that result of ftype and the default app don't match?

I remember from Windows 7 that I can change the default program that is used to open a file type (e.g. .txt) by using assoc and ftype and as help ftype on Windows 10 implies, this should still work: ...
0
votes
1answer
70 views

assoc-ftype does not work properly on windows 10

I'm trying to associate .svg files to open with Inkscape's inkview.exe. Not being able to do so through conventional methods I'm trying the command line. What I did: ran assoc .svg= and assoc .svgz= ...
2
votes
0answers
31 views

Default video app keeps resetting from MPV on MacOS

The Problem I use the mpv video player to play all videos on my mac, though I also have VLC installed. The problem is that after a while my default video application changes to VLC (and/or Quicktime, ...
0
votes
1answer
35 views

Application behaves differently at launch using associated file

I have a custom-built Windows desktop application that unexpectedly behaves differently on a system with multiple monitors, depending on how it has been launched. My expectation is that it should ...
2
votes
1answer
101 views

Fully remove a default program association for file types in Windows 10?

Not a single answer from here worked for me. I want to delete the .resource association with Total Commander. Approach 1 I open registry, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\...
0
votes
1answer
55 views

Script to set Default Browser

We have a GPO in place that sets IE 11 as the default browser on every startup. Instead of having to change the default browser to Firefox manually each time, I'd like to auto start a script that does ...
0
votes
0answers
118 views

Changing default applications in Windows 10 (1803) [duplicate]

I don't know what has gone on over at Microsoft or on my copy of Windows 10 or whatever, but I cannot change the default application for some of my file extensions. Some extensions change just fine, ...
1
vote
1answer
32 views

Restoring Windows FileExplorer as default for folder association. | Win10 |

I started using Q-dir parallel to the inbuilt Windows10 FileExplorer. Even though I like it much for project focused file management, I made a move that I regretted by now and cannot revert for some ...
0
votes
1answer
25 views

Setting default language to 'JavaScript' doesn't actually set it

I'm using Notepad++ v7.5.8 (64 bit) on Windows 10. I set my default language to Batch. After creating a new doc, typing some code and hitting save - it'll automatically select *.bat as the file type....
0
votes
0answers
101 views

Can't change default application for some file extension

A few day ago, I created a new account with administrator type in Windows 10. Now, in the new account, i can not to associate any file extension with any program, default windows methods doesn't do ...
0
votes
1answer
137 views

Can't use Notepad++ as default program for .txt

I am trying to set the default program for opening a .txt file to Notepad++. I can change the default program to Wordpad, and it stays like that. If I change it to Notepad++, it immediately switches ...
0
votes
2answers
40 views

Change default application

How can I change the default application within Calibre when opening a PDF? Now it opens Adobe Reader, but I would like to open another application. Can somebody let me know how to do that, because I ...
0
votes
1answer
44 views

Why are PHP files in CMD launching Notepad++ instead of running in the prompt?

I'm trying to run a MediaWiki script called RunJobs.php, which I have done many times before on the same system. All of sudden, today when I try to run the script in CMD on Windows 10 instead of ...
1
vote
1answer
84 views

Windows 10 adds ---open-url to registry value for default program open command

I am running Windows 10.1803, build 17134.320. I am trying to get .asp files to open with VS Code. I went through the normal process, but no matter what, Windows would always ask me what program I ...
2
votes
0answers
885 views

Windows 10 is resetting/not saving the default app settings for all file types and programs

I am using Windows 10, 64-bit, Version 1803, Build 17134.320. When I try to set a new "Default App" for a certain file type or protocol (eg: .txt files) to be opened in, Windows does not save the ...
1
vote
0answers
77 views

GPO - Default File Association from user/machine combination

I have a GPO that uses ComputerConfiguration\Policies\AdminstrativeTemplates\WindowsComponents\FileExplorer\Set a default associations configuration file to set the file associations for a particular ...
1
vote
1answer
33 views

Is there any way to make Windows smart about different file types with same extension?

The problem is for .ts files which currently Windows identifies them as video format. I want .ts files that are videos open with video player and .ts files that are TypeScript open with code editor. ...
0
votes
1answer
30 views

Windows 10 - Uninstalled application but still on “open with” menu

I uninstalled the application, cleared caches and repaired registry with Glary Utilities but the application is still a target application to open files. How can I remove that application completely?
0
votes
0answers
35 views

Can't change default app from Dragon Player to Gnome MPV

I'm using Cinnamon on a Devuan ASCII system. I'm trying to have Gnome MPV open my .avi files rather than Dragon Player - like I've already done with .mp4 and .mkv files, using the "Open With | Other ...
-1
votes
2answers
919 views

Prevent Windows 10 from resetting default applications?

My Photos app broke, somehow, so I got the nomacs photo viewer, but Windows does NOT like it. I kept setting it to the default photo viewer in Default Apps, but at some point in time it would be reset ...
7
votes
3answers
429 views

How to conveniently mass-reassign file associations in Windows 10 (1803)?

(Skip to the question by scrolling to the very bottom, but in this case don't blindly vote to close ...) Yes, I know this topic has been regurgitated a number of times here, here and here, but I ...
1
vote
1answer
198 views

How do I modify an Expandable String Value in the registry with PowerShell or a batch file?

I would like to use a PowerShell or batch script to modify an existing expandable string value to another. Specifically, I want to change the default value at HKEY_CLASSES_ROOT\...
5
votes
1answer
450 views

Windows 10 file association selection

I'm using Windows 10 version 1803 and cannot change file association via Control Panel\All Control Panel Items\Default Programs After choosing the "default application by type" option, there's no ...
0
votes
1answer
49 views

How to fix the directory of an extension's associated program

On my Windows-10 PC, there are some files with extension .dmupgrade. Those should be opened with the program C:\Program Files\<Company>\TaskbarUtility.exe. I also have another version of ...
1
vote
0answers
25 views

Change file association in High Sierra (NOT command I)

I changed the file association for my .dvdmedia files on my Mac to point at Blu-ray Player Pro. As it turns out this was a mistake as it turned all the .dvdmedia files into plain directories. Google ...
1
vote
1answer
26 views

Visual Studio 2015 keeps getting standard file association for txt files

On my System running Windows 10 Professional, I am using Visual Studio 2015, which is the standard program associated to Text-Files, i.e all files with a suffix .txt, which means all files of this ...
0
votes
1answer
136 views

Changing .vhd file extension default file type

I use the hardware design language VHDL which has the customary file extension .vhd. Win 10 seems to have reserved this extension to mean "virtual hard drive". The displayed Type in File Explorer is "...
1
vote
0answers
50 views

Using untrusted app as the default way to open a file

I've turned a short shell script into an Application using Automator. The shell script converts a .dot file into a .png and opens the .png Something like dot -Tpng "$@" -o img.png open img.png I'm ...
0
votes
1answer
62 views

Restore sounds for apps after Windows update (without updating drivers or reinstalling app)

Problem experienced on Windows versions 7 and 10. Example used in this post: Quicken 99. The problem and solution may be germane to other Windows versions and apps as well, especially if the app is ...
6
votes
7answers
11k views

How can I make Notepad++ default program for `.txt` files?

I would like .txt files to open with Notepad++ by default in Windows 10. I have found the options to change file associations but there is no option to specify custom programs. Here's a screen shot: ...
0
votes
1answer
46 views

Change default action for DVD drive

In File Explorer, when I right-click my DVD drive, "Install or run program from your media" is highlighted. When I double-click my DVD drive, it runs the executable specified in AUTORUN.INF. How do I ...
0
votes
2answers
99 views

Is there a way to set a default application to open all file types for a specific folder?

I have a specific folder with different file types (txt, pdf, docx, anything) which when doubled-clicked on File Explorer, I do not want the default applications to open these files. Instead, I want a ...
1
vote
0answers
26 views

Default file open options issue

I want to double click PDF's gives me Google Chrome Browser 64.0.3282 for Views (quick just to read) BUT... I when I right click to 'edit' I want Word 2013 to open the PDF. I'm guessing a Reg hack, ...
1
vote
2answers
801 views

How do I associate JPEG files on Windows 10 with IrfanView (or other program)?

I was trying to associate from within IrfanView options, but it didn't help. When did this with "Run As Administrator", it didn't help either. The right click menu doesn't contain "Use Always" ...
0
votes
1answer
1k views

W10 won't set word as default application for .doc documents

On a computer running w10 with office 365 suddenly the file association of office was lost, I have fixed it except for the .doc files, if I double click a file it will open Word but a message will ...
5
votes
2answers
1k views

How do I set a default app for an extension that is not listed?

I need to set a default app for the extension .rels in Windows 10. However, the “Choose default apps by file type” does not list that extension. I went to a file of that type in the file explorer and ...
1
vote
0answers
49 views

Associate File with Wine Program on Mac

I'm working on a Mac OS 10.13 computer and have Wine working great. Unfortunately when I try to permanently associate a file type with a program running in Wine I can not determine where to find it in ...
0
votes
0answers
259 views

Adding programs to “Open With…” drop down list makes issues (Windows 10 1709)

I am currenty trying to add a program to the "Open With..." drop down list (in my example .pdf). I've tried to add the program manually to the following path in the registry: Computer\...
7
votes
3answers
5k views

Windows 10 Automatically Changes File Associations

I have Windows 10 and I'm having this issue where it will randomly just change the file associations I have set from Settings > System > Default apps > Choose default apps by file type back to their ...
2
votes
0answers
253 views

On Mac, file association for image files keeps changing to Grab, when I want Preview instead

For some reason, since a few weeks ago, every once in a while the file association for images like .jpg files will change to Grab (a built-in utility which is used for taking screenshots). I'm on ...
0
votes
0answers
110 views

Accidentally Deleted '.exe' file association in Nullsoft script? [duplicate]

I accidentally changed the `.exe file association with the following Nullsoft script (generated by VBConverter) # MyProg-Standard.nsi installation script # Automatically generated by VB6Converter by ...
0
votes
1answer
413 views

How to repair a broken .jar association in Windows 10?

While trying to run a .jar file (Optifine installer for Minecraft), I accidentally thought that I could use the OpenJDK package that comes with Android Studio to run it. However, I was wrong, and now ...
0
votes
1answer
223 views

Windows Server 2012 R2 Perl File Type Association

I can't figure out why Perl scripts are not receiving command line arguments in my environment. I ran this series of commands to try to validate all the configurations and demonstrate the problem ...
1
vote
0answers
56 views

Picture files cannot be opened directly by double clicking

When double-clicking a picture file, it shows Then I choose "Select a program from a list of installed programs", and the "Windows Photo Viewer" is still there. I also check the "Always use the ...
0
votes
0answers
132 views

How can I open a file with its default application from the MinGW Bash prompt?

In the default windows command prompt you can open a file from the command prompt by entering the name. See Open file with default application from command line. Is there an equivalent in the MinGW ...