Questions tagged [default-programs]
34 questions
18
votes
2 answers
How do I open a file in its default program by using the CLI in GitBash on Windows 7?
I'm currently using GitBash on Windows 7 to play around with the command line interface and would be very interested to know how to use GitBash to open a file/document in its default program.

Michael Noffsinger
- 191
- 1
- 5
9
votes
6 answers
How to programmatically determine default applications in linux
In linux, how can I determine the default text editor, terminal, etc?
does it vary by distro?

sqram
- 7,069
- 8
- 48
- 66
9
votes
3 answers
Visual Studio files association in Windows
In Windows Explorer when I double-click on any Visual Studio file (*.cs, *.csproj, etc.), it's opening an old version of VS instead of the latest one (VS 2017). And VS has associations with too many file types.
How can I change the default Visual…

Mariano Desanze
- 7,847
- 7
- 46
- 67
5
votes
1 answer
How to show "Set program associations" window in Windows 8/8.1?
I want to show Set program associations windows [edit: for my program] like Chrome do when it run first time after install, like this:
It have:
Name of my program
File types I want to set default program (more than…

NoName
- 7,940
- 13
- 56
- 108
4
votes
1 answer
Open url with IE instead of default browser
I have a app that when you click a button it opens a file that is on a SharePoint share. In IE it will open the document in word correctly that if you make changes to the file it will push the changes back to the SharePoint server, however if a user…

Scott Chamberlain
- 124,994
- 33
- 282
- 431
4
votes
4 answers
Windows Vista, Default Programs API, file format associations, and (un)installers - explosive mix!
My application is a rather well behaved Windows citizen, so when I ported it to Windows Vista/7 I replaced my custom file format association code with support for the Default Programs API. However I ran into a problem when trying to make uninstaller…

Alexander Frost
- 631
- 8
- 17
3
votes
2 answers
In Obj-C, how to programmatically set the default "open with" property of a file in Mac OS X
In creating some .mov files using Cocoa (Obj-C), I'd like to set them to be opened by default by a specific program, instead of the default. This should be a file level property, I do not wish to change the default program for all files with the…

apalopohapa
- 185
- 3
- 11
3
votes
2 answers
Change Default Program for .jar File
Recently I was exploring the contents of a .jar file in 7-zip. I ended up changing the default program as I was opening and inspecting numerous jars. I do not remember how, but the default program was set to windows explorer. It now will not allow…

Dagnarus
- 65
- 2
- 7
2
votes
1 answer
Where are the program files stored on Android? ( not the .apk files but the actual installed files)
I recently rooted my vzw Droid3 and now I am trying to clean out the junk preinstalled programs. I found the .apk files located at system/app, but I want to know where the installed files are. As I understand it, the .apk file is a zipped…

user1117746
- 21
- 1
- 2
2
votes
1 answer
How to add program into Control Panel Programs with C# or cmd
I have a program file. And I want to add this program into Control Panel Programs like this:
How can I do that with C# code or cmd ?

Ali Aliyev
- 163
- 9
2
votes
1 answer
Change default certificate manager for libreoffice
In libreoffice
File > Digital signatures
Brings up a dialog box where I can choose "Start certificate manager"
Clicking it opens "seahorse passwords and keys" application.
I want to tweak the LibreOffice to open "keystore explorer" instead of…

Hamlet Kraskian
- 683
- 9
- 11
2
votes
3 answers
Associate File Extension with Java Application
Here is a picture of the 2 files in question, one .atb and one .jar
If i just click the jar file, it opens my program smoothly, no questions asked.
If i click the New Text Document and choose "y" as my default program, it says this:
If i do all…

Ploug
- 25
- 1
- 1
- 6
1
vote
1 answer
Make our application show in access and defaults
We are developing our application to be a default e-mail program, and would like it to be one of the options in the Control Panel-> Add or Remove Programs-> Access and Defaults-> Custom-> Choose a default e-mail program: area. How is this done?
It's…

Eric Dahlvang
- 33
- 4
1
vote
1 answer
DISM /Import-DefaultAppAssociations runs successfully, but no file associations are changed
On Windows 10, I run
dism /online /import-defaultappassociations:\\path\to\appassociations.xml
The output says the command was completed successfully, but the defaults aren't changed when opening files. The changes are also not visible in Control…

CouldBeAnybody
- 11
- 1
- 3
1
vote
1 answer
Polynomial Add: Unable to run code
This program is on Eclipse. I have to declare variables "Integer" not "int". When I am compiling this code shows no error but there is a runtime error. Please fix this problem.
Runtime error:
Exception in thread "main"…

Ahmad Murtaza
- 105
- 6