Questions tagged [file-association]

A file association associates a file with an application capable of opening that file. More commonly, a file association associates a class of files (usually determined by their filename extension, such as .txt) with a corresponding application.

413 questions
0
votes
0 answers

Invoke file type action from Windows 7 command line

Is there a way to invoke actions defined for a file type from the command line? I used FileTypesMan to define .phpcli for PHP CLI scripts and added actions run(php) and edit(netbeans). They both appear on the context menu and work as expected. But…
0
votes
0 answers

Windows 8 command line for Open With dialog

What is the Windows 8 version of the "rundll32.exe shell32.dll,OpenAs_RunDLL {path}" command? I am trying to get the open with dialog in Java, which works in Windows 7, but does nothing on Windows 8 ... ProcessBuilder pb = new…
0
votes
1 answer

Can A Webserver Force the Client's Computer to Open a Filetype with any Given Application

I'm pretty sure I already know the answer to this, as being able to force the client's computer to open a file with the "Webserver chosen application" would be a huge security risk, but I'm going to ask it anyways. Can you force an end user's…
Goldentoa11
  • 1,700
  • 2
  • 17
  • 29
0
votes
1 answer

add program to windows 8 URL:mailto program association list

in windows 8.1 I goto: Control Panel > All ControlPanel Items > Default Programs > set Associations and pick MAILTO (URL:mailto) it shows the following list to pick from Outlook Google Chrome Mail Look for an app in the Store How do I register…
godzilla
  • 971
  • 1
  • 10
  • 18
0
votes
1 answer

Open bat file does not start it but opens it in editor

Since some time, when I click on BAT file in Windows Explorer (Windows 7) the BAT file is not started. Instead, the BAT file is opened in Notepad. I tried to repair this, by using Right-click to use Open With... . No luck, because this function is…
Ivan Cenov
  • 189
  • 2
  • 10
0
votes
2 answers

Choose a program that windows will go open files with special format by batch-file

(sorry by the english) I have a app that uses the following command to open files: java.awt.Desktop.getDesktop().open(new File(caminhoArquivo)); the problem is that i uses a special format to open files (ex.: .TXZ), and if i don´t open the file…
Chico Luiz
  • 191
  • 1
  • 2
  • 8
0
votes
1 answer

Windows Phone 8: Auto-Launch *.pptx fail

I have this code for launching a file on Windows phone 8: string ppFile = @"Assets\Documents\test.txt"; var file = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(ppFile); var success = await…
0
votes
1 answer

How to associate Python scripts with active virtualenv?

After I activate specific virtualenv I'd like to have Python scripts, which I run using only their name (script.py), be executed using Python interpreter from virtualenv. How to do this? It's a followup to the Why doesn't virtualenv on Windows…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
0
votes
1 answer

How to remove file associations with IDEA?

OS - Windows 7 32-bit. Command assoc .java= does not help. I have deleted IDEA. Now I need to delete ALL file associations with IDEA.
0
votes
1 answer

FileAssociationInfo And ProgramAssociationInfo

I'm developing a application for Windows Mobile using C#(.Net Compact Framework 3.5), but I need to associate my program with a file type. When I try to use FileAssociationInfo I'm getting this error: The type or namespace name 'FileAssociationInfo'…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
0
votes
2 answers

Associate a File To a Application

I'm building two programs, a text editor and a zipper, but in this two programs I want to associate a file type to they, but how can I do this? Thanks.
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
0
votes
2 answers

How to associate file during folder copy on Mac OS X

I involved with the development of an application that is intended to deploy on multiple desktop system including the Macintosh. Our team decided we would like to a drag and drop installation for the Macintosh. However, the application is intended…
Tron Thomas
  • 871
  • 7
  • 20
0
votes
1 answer

VisualWorks 7.9.1 Ubuntu 12.04

I would like to associate ~/vw7.9.1/bin/linux86/vwlinux86gui with .im files on Ubuntu 12.04, so that a double click of an .im file will open it up. Anyone know the magic? Thx for any tips...
0
votes
1 answer

How can I get the the "Application used to perform action" with C#

in the windows XP explorer "folder options" dialog is a File type tab. In the file type tab the known filteypes are associated with a program. When the "Edit File Type" dialog is visible, there are different actions for a file type like open or…
Thorben
  • 17
  • 6
0
votes
4 answers

"Windows (Vista) cannot find "abc.def". Make sure you typed the name correctly and then try again."

In Windows Vista (only) when I double click on a file in Windows Explorer that is associated with my application, the following message is displayed: "Windows cannot find "abc.def". Make sure you typed the name correctly and then try…
nevf