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
3 votes
2 answers
1k views

Make My Own Made Java Based Text editor as default Text Editor in Windows

I have made a Text Editor in Java and I want to make it default text editor. Similar to Windows when it defaults to Notepad as the editor, and whose icon shows on all text files and double clicking ...
user avatar
20 votes
1 answer
117k views

Where is the Default Program associations stored in the registry? [duplicate]

If I run the assoc command-line utility for an extension, it shows the file type/description for the extension I set in the registry. But if I go to Control Panel -> Default Programs - Set ...
Jim McKeeth's user avatar
  • 5,097
6 votes
1 answer
3k views

How does Windows Actually Handle File Associations?

I have a problem with file associations. My C# application can set the file association for its own extension so that users double clicking the project file it uses will open my app and load the file....
ScruffyDuck's user avatar
11 votes
1 answer
8k views

Windows 7: How to modify what program opens a batch file?

I remember in Windows XP where you could edit file associations to not only change what program would open certain files, but edit individual items in a file's right-click context menu. You could ...
oscilatingcretin's user avatar
0 votes
1 answer
22k views

How to fix .exe file association in Windows? [duplicate]

I recently downloaded an ASP.NET project, which was a self-extracting zip file. I right-clicked the file and chose Open With → Microsoft Visual Studio. Now apparently it unzipped and set the default ...
George's user avatar
  • 1
2 votes
1 answer
869 views

Program cannot be used by the Windows 7 "Open with..." dialog box

I've just done a fresh, clean install of Windows 7 on a new HD, and am experiencing the following issue: I like to map my txt files to be opened with my editor of choice, PSPad. As usual, I have a ...
Tom Auger's user avatar
  • 1,695
0 votes
1 answer
578 views

How can I associate mspaint with Windows Picture and Fax Viewer in Windows XP?

Usually I preview images with the the Windows Picture and Fax Viewer under Windows XP. Recently I found there was something wrong with the edit button. After pressing the Edit button , the Windows ...
Sigma's user avatar
  • 171
5 votes
2 answers
3k views

Windows XP "open with" not allowing a custom option

Up until today I had text files set to open with Notepad++. Today I moved my Notepad++ installation, and after that I am no longer to use "open with" to get a text file open in Notepad++, even though ...
The111's user avatar
  • 611
1 vote
1 answer
3k views

How to diagnose "Windows cannot access the specified device, path, or file" error?

When running Python script at the command line I get this error Windows cannot access the specified device, path, or file. You man not have the appropriate permissions to access the item. How ...
Piotr Dobrogost's user avatar
173 votes
1 answer
118k views

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

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's user avatar
  • 3,417
0 votes
1 answer
164 views

Force multiple Applications in the "Open with..."

I would like to force Lion to show both Excel and TextEdit as applications in "Open with..." dialog. I currently have Excel set as the default for .dat files but occasionally I just need to glance at ...
Dominik's user avatar
  • 165
52 votes
3 answers
59k views

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 ...
deed02392's user avatar
  • 3,042
6 votes
2 answers
5k views

How to choose default program to a file to be opened with same exe name?

I am not able to select default program for a file that uses same program exe name as it used previously, but now in different folder and thus different version. When ever i select the program, it ...
Rookie's user avatar
  • 1,233
0 votes
4 answers
8k views

Why is incorrect associated icon showing for .MP3 files?

I changed the associated application for playing .MP3 files from VLC Player to GOM Player within Windows. Double-clicking a .MP3 file causes GOM Player to launch (as expected), but the icon still ...
Goto10's user avatar
  • 593
1 vote
1 answer
77 views

Is it possible to associate particular filename to an application

Say I'd like to open any Makefile with MS notepad. Is it to make such an association? Binding notepad to any file without suffix is not a nice solution.
onemach's user avatar
  • 2,805
8 votes
6 answers
6k views

Portable file association for USB sticks?

I have a usb stick with PortableApps that I carry around between different places. But one thing that annoys me, is when I open a file (such as *.flv or *.html), either Windows says it is unsupported ...
auroranil's user avatar
  • 225
1 vote
1 answer
2k views

How to get a list of all file extensions that are associated to a particular application?

How can I pick an application and then generate a list of all the files extensions that are currently associated with it? Windows Explorer's Folder Options utility lets me go the other way - that is ...
user avatar
14 votes
1 answer
9k views

OSX: assign extension to content kind

Here I have a folder containing a bunch of *.mkv files (video, obviously) and *.srt files (subtitles, obviously). I want to keep them within one folder but I don’t want them to be mixed together. It ...
Arnold's user avatar
  • 861
1 vote
0 answers
74 views

How do I get .XLT files to open in a new instance of excel? [duplicate]

Possible Duplicate: Open Excel files in new window If I have a copy of excel open, and I double click a .xlt template file, it opens in the same excel instance that I have open (proven by viewing ...
James's user avatar
  • 111
26 votes
4 answers
32k views

How do I change my default browser to an unlisted program in Windows 7?

I use multiple browsers regularly, so I've written a script that will open pages in whatever browser is already running (or Firefox if there is none). I want to set this script as my default browser. ...
Morgan May's user avatar
7 votes
4 answers
56k views

Why can't I associate files with Excel after upgrading to 2010?

With Excel 2007 I was able to use Open With to associate TSV files with Excel, so that I could double-click on them and they would automatically open with each value in a different cell. But since ...
bwarner's user avatar
  • 341
3 votes
2 answers
16k views

Repairing file associations for a user profile [duplicate]

Possible Duplicate: How to repair a broken .EXE file association A system that I'm working on got the Windows 7 Anti-Spyware 2012 virus. Before it was giving to me it had been running a while ...
TonyD's user avatar
  • 31
4 votes
1 answer
35k views

Accidentally caused all .exe programs to open in Notepad [duplicate]

Possible Duplicate: How do you associate the .exe file extension with a program in Windows? I wanted to look at a shortcut or .exe file (not sure which, unfortunately) in Notepad, so I opened it ...
Matt Fenwick's user avatar
3 votes
3 answers
5k views

How to associate *.java files with notepad++ editor?

I found that I am unable to do this in usual way (on Windows 7 prof x 64). When I open "Open with..." dialog I see no notepad++ in list. So I press "Browse" button and select it explicitly. But after ...
Dims's user avatar
  • 12.7k
12 votes
1 answer
14k views

How to repair a broken .EXE file association [duplicate]

After (hopefully) scrubbing viruses out of a Windows 7 installation (after deciding not to simply run over the laptop repeatedly with my car), I've got everything almost back to normal. The only ...
Pointy's user avatar
  • 889
7 votes
1 answer
29k views

How to associate a file with a program in Windows via CMD [duplicate]

Possible Duplicate: Associate a File Type with a Specific Program How do I change file association via the cmd.exe prompt? I know this is similar to this question, but I'm only concerned with ...
wizlog's user avatar
  • 13.3k
32 votes
3 answers
18k views

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 ...
apoorv020's user avatar
  • 2,474
2 votes
1 answer
293 views

Installing programs in custom directory Win Server 2008 R2 - problems setting as default applcation

For legacy reasons at work, we are trying to install applications on Windows 2008 R2, not in program files (or program files (x86)) but in a Development Applcations folder. This is working fine in ...
lagerdalek's user avatar
3 votes
2 answers
2k views

Start firefox using Another Profile, for specific file type(s)?

I have two profiles. A and B I have made shortcuts to start each profile as follows: "C:\Program Files\Mozilla Firefox\firefox.exe" -p A "C:\Program Files\Mozilla Firefox\firefox.exe" -p B Also, I ...
Odys's user avatar
  • 1,621
14 votes
5 answers
22k views

Why are certain default application associations "locked"?

After associating my MP3 files with MPlayer using the Open with/Choose default program... dialogue I can no longer change that association using said dialogue, the Always use this [...] Checkbox is ...
brunnerh's user avatar
  • 668
16 votes
2 answers
10k views

How do you associate the .exe file extension with a program in Windows?

A few years ago I saw somebody play a prank on somebody by associating the .exe file extension with Internet Explorer. This made Internet Explorer open up every time the person wanted to start a ...
Peter Olson's user avatar
3 votes
1 answer
132 views

Settings what-opens-what once and for all (Backing up File Associations)

Every time I switch machines (as in, get a new one, or reinstall an OS or something like that) my precious file associations get lost. And the next six months pass slowly until I again set them up ...
Rook's user avatar
  • 23.9k
2 votes
2 answers
1k views

How can I remove all file associations for Office 2007 without uninstalling it?

How can I remove all file associations for Microsoft Office 2007 without uninstalling it? In addition, is it possible to install Office 2007 and not create any file associations?
Primoz's user avatar
  • 155
6 votes
2 answers
3k views

Why does Windows default to MS Word to edit .html files?

When trying to edit .html files on Windows XP, they open up in MS Word. Is there any reason that this is the default rather than something that is more lightweight and only deals with plain text and ...
yoozer8's user avatar
  • 444
2 votes
2 answers
704 views

How to prevent "Open With" dialog window when opening file from command window?

I associated Python's interpreter with Python scripts using environment variable: C:\Users\Piotr>ftype Python.File Python.File="%PYTHON_HOME%\python.exe" "%1" %* Sometimes this environment ...
Piotr Dobrogost's user avatar
12 votes
2 answers
24k views

How to create registry key of type REG_NONE?

Information on files' associations are stored in HKLM\SOFTWARE\Classes and HKCU\SOFTWARE\Classes Windows' registry branches (among others). Each entry there can have OpenWithProgIDs key which adds ...
Piotr Dobrogost's user avatar
0 votes
2 answers
152 views

How can I specify what action (run/open/edit) I want to execute on given file in the command line window?

Is it possible to specify what action (run/open/edit) I want to execute on a given file in the command line window? If so how?
Piotr Dobrogost's user avatar
2 votes
3 answers
5k views

Association of Python files in Windows not working

On my system (Windows Vista Home Premium 64bit) Python files are associated with Python interpreter: C:\Users\Piotr>assoc .py .py=Python.File C:\Users\Piotr>ftype Python.File Python.File=c:\...
Piotr Dobrogost's user avatar
10 votes
5 answers
4k views

Get Windows to treat files with the same extension differently

Multiple programs use the same file extension, but the formats are totally different and incompatible. For instance, I have .sch files on my computer that are in at least 5 different formats (TINA, ...
endolith's user avatar
  • 7,627
1 vote
1 answer
820 views

What is the default filetype association for .conf files?

I accidentally changed the filetype association on .conf files when I was viewing one. What is the default association for this type of file in Windows 7?
Lance Roberts's user avatar
0 votes
1 answer
734 views

Windows is unable to change file associations

If I install multiple versions of the same software (for example: 3ds Max) then I'm unable to change file associations from one version to another in Windows Vista and 7. It either doesn't display all ...
Paulius Liekis's user avatar
4 votes
1 answer
2k views

How can I change the preference for what program opens a type of link in OS X?

I recently upgraded Thunderbird to version 5, and I installed the plugin that allows the calendar tab to read/update webcal calendars. Previous to the update, I had a Basecamp milestone calendar, a ...
jlengstorf's user avatar
7 votes
4 answers
917 views

Is there any reason to change the .exe file association on Windows?

A lot of viruses/malware these days hijack the .exe file association on Windows. The default value for an exe file is "%1" %*, which is fine. It launches the exe file with any arguments passed to it. ...
user avatar
0 votes
3 answers
3k views

Change file open command in Windows 7?

When I install Paint .NET, it creates the Edit in the context menu file for .PNG and other file types. However, when I install ACD See, it suddenly change the program for Edit command. Windows Paint ...
Luke Vo's user avatar
  • 1,613
7 votes
5 answers
5k views

Matlab *.mat files associated with MS Office

When MATLAB creates a binary file with extension .mat on my Windows 7 (64 bit) computer, Windows declares it in a directory as a "Microsoft Office Access Table Shortcut". Windows also does not provide ...
user avatar
1 vote
1 answer
3k views

Cannot delete .jar file association in Windows 7

C:\Windows\system32>assoc .jar File association not found for extension .jar C:\Windows\system32>ftype jarfile File type 'jarfile' not found or no open command associated with it. When I ...
Demiurg's user avatar
  • 251
11 votes
3 answers
38k views

How to force a file association in Windows 7? (Regedit?)

I recently upgraded my Adobe CS4 Des. Standard to CS5. For some reason Adobe didn't overwrite CS4 but instead installed CS5 as a whole new series of programs. Seeing as I didn't want both CS4 & ...
Emmanuel's user avatar
  • 225
0 votes
0 answers
474 views

How to associate a file extension with a Windows command (not path)?

In Windows 7, I want to associate .tex files with latex, which is in PATH. The association should work even if the binary is moved to another place in PATH. Can that be accomplished without ...
user avatar
9 votes
4 answers
12k views

How can I make terminal VIM my default editor application in Mac OS X?

I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one? So the question is, how can I make VIM (run in iTerm2) the ...
Matt Ryan's user avatar
  • 233
0 votes
1 answer
475 views

How can I prevent Outlook 2010 from becoming the default mail client

I'm running Windows 7 Professional 64-bit, Outlook 2010 32-bit and Thunderbird. Thunderbird is my default mail client, but occasionally I have to run Outlook. Whenever I do that, the next time I ...
stmoebius's user avatar
  • 512

1
9
10
11 12 13