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.

File association is the means of assigning a file extension or mime type to a particular application, as a default means of opening this type of file.

In most operating systems, there are settings that configure what programs open which file types by default. In most cases, this can be customized by the end user, so that third party applications can be used to open files by directly executing the file, rather than launching the program first and opening a file through a menu.

File association is sometimes referred to as .

617 questions
176
votes
1 answer

How do I get Notepad++ to associate a file type with a language?

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
fredley
  • 3,457
100
votes
5 answers

How do I set Notepad++ as the default editor?

I want set Notepad++ as the default editor. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other Programs). When I try to redirect to Notepad++ through…
madhu
  • 1,231
  • 5
  • 11
  • 15
75
votes
12 answers

How do I restore .bat files association with the system (make them run when double-clicked)?

What do I set the 'Opens with...' property to in order to get the system to run .bat files again (when they are double-clicked)? Somehow my boss convinced his workstation that the handler for .bat files was supposed to be Word. Now, when…
justSteve
  • 1,479
64
votes
3 answers

How to change default app for all files of particular file type through terminal in OS X?

How can I change the default app for all files of a particular file type through the Terminal in OS X?
yashodhan
  • 641
60
votes
4 answers

Change Windows 7 explorer "Edit" context menu action for jpg and other image file types

When I right click on a jpg file in Windows Explorer (Windows 7), I see that there is an "Edit" menu item. If I click this item, it opens the image in MSPaint. Blah. I have Paint.NET installed, and I'd like to change the "Edit" action to open the…
slolife
  • 1,283
55
votes
12 answers

Windows 10 default programs keep changing

Since the fall update last month, Windows 10 automatically keeps changing the default apps for certain types (mostly browser,pdf,mp3,jpg). I have tried changing them back from the Settings app as well as the Control Panel. I have observed that this…
kp91
  • 766
54
votes
7 answers

How to restore Windows default Zip file functionality?

I recently lost the default file association for Zip files in Windows Vista (I think it happened when I uninstalled WinAce, but I can't be completely sure). How can I restore this association back to the Windows default?
Brian
  • 800
53
votes
4 answers

Programatically associate file extensions with application on Windows

I've just recently reinstalled Windows and in setting up my environment I've noticed that all my associations for the various programming languages I edit in Notepad++ have gone (naturally). I am thinking for the future, wouldn't it be grand to have…
deed02392
  • 3,132
  • 6
  • 30
  • 36
53
votes
4 answers

How do I set advanced file associations in Windows 7?

It used to be in Windows XP that I could make Warcraft III files load automatically into the game by double clicking on them. This association was made by going to file associations ADVANCED area and using this line: "C:\Program Files\Warcraft…
Dan O
  • 635
45
votes
8 answers

How do I make all file types open in the internal editor in eclipse?

When using the open file dialog on Eclipse, many file types open in the internal editor as expected (.java, .txt). However, others open in an external editor. For example on my system attempting to open .sh file causes it to open it in emacs, and…
Draemon
  • 778
44
votes
6 answers

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: How can I make Notepad++ default program for .txt…
CiaranWelsh
  • 3,466
40
votes
4 answers

7-zip cannot open file on double click

I have installed 7-Zip on my machine and associated it with serveral archive file types. When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling me that 7-Zip cannot open this file as an archive.…
Chris
  • 963
38
votes
1 answer

osx - stop xcode from opening ruby files

I have set my favorite text editor as the default application to open ruby files (.rb extension) multiple times by following Open With -> then Other... then I click the checkbox Always Open With. However, every time I restart my computer, it gets…
AJcodez
  • 529
32
votes
5 answers

Where does Mac OS X store file association information?

I know there is a system preferences pane to manually modify the file associations in Mac OS X Leopard. However, I'm curious where does Leopard actually store these information? I'm not interested in methods to change them. I want to know the…
mmx
  • 3,209
31
votes
3 answers

What format does Google Chrome Developer Tools save data as?

I am using Google chrome's developer tools to inspect the timeline of some requests. There is the option of storing them as a .HAR file, but I could not find anything that opens it. In a browser, it looks like a simple text file. Does anybody know…
apoorv020
  • 2,514
1
2 3
41 42