Questions tagged [default-programs]

34 questions
1
vote
1 answer

Change Default Program for a specific folder

I do not know if this is possible (I suspect that it isn't), but can you change the default program for a file type for only a specific folder and the folder's sub-folders in Windows 7? What I am trying to do is set the html files in a specific…
CampSoup1988
  • 139
  • 6
  • 21
0
votes
1 answer

wxLaunchDefaultApplication vs wxLaunchDefaultBrowser for opening a local directory in the default file manager

I'm writing a wxWidgets program wherein I need to open a local directory in the default file manager. This program should be cross-platform and work well on at least Windows and Linux, but preferably also macOS. I looked into ways to open a local…
Newbyte
  • 2,421
  • 5
  • 22
  • 45
0
votes
0 answers

How to simulate no browser installed under Windows

In a python program running under windows I used the os.startfile() function to open something.html file. I now wanted to test the edge case of having no browser installed. How do I simulate this case under Windows without uninstalling all…
Stoppsignal
  • 13
  • 1
  • 4
0
votes
0 answers

Cant change default program for opening custom files

I have compiled a C++ program that reads custom .lang files. Right now, the program prompts the user asking to enter the file and it opens. I want the program to run when a file with the extension .lang is clicked. I have set the exe to be able to…
Mezza Man
  • 63
  • 1
  • 2
  • 8
0
votes
0 answers

How to set back the right default program for .vmoptions files?

By accident, I set notepad as default program to open .vmoptions files. And now my programs that have these files won't open. But before they had opened, so I guess I don't need to download any soft. How to change it back? What is the right default…
Darya
  • 1
0
votes
0 answers

Microsoft Windows7 show thumbnails conflicting with open with a default program

I wrote a windows shell extension to show 3D files' thumbnail image, so user can search quickly. It works when users don't change default open program. However, if a user right click on a 3D file, then select open with to change default open…
wang qi
  • 1
  • 1
0
votes
0 answers

Double clicking .txt files causes CMD to startup

I think I accidentally set .txt files to open with command prompt when double clicking them. However I cannot revert this and cause .txt files to open with Notepad++ or notepad using conventional methods do you have any tips on how to fix…
0
votes
1 answer

Changing default program for a file type (workaround)

I would like to specify that images of a certain type (for example, .png) open by default in a program I've written when the file is contained in a certain directory. I've seen by searching (Change Default Program for a specific folder) that this is…
XenoScholar
  • 187
  • 3
  • 10
0
votes
0 answers

How does one setup default programs for users on terminal servers using a login script.

Right now I have the default programs setup correctly but occasionally I am seeing users some how changing the defaults even though they do not have permissions. I can see they changed them by looking at their profile. My guess is they are opening…
0
votes
1 answer

How to enable quick edits from file manager in PhpStorm after install

This post shows how to use quick edits, but how to open it from the system file manager by default? When I do open with in the context dialogue and then open it with phpstorm.exe, my PC ignores it and just goes back to Adobe Edge Code. I'm using…
user2486953
0
votes
1 answer

'How do you want to open' 8.1 dialog and icons

Does anyone know, where Win 8.1 gets the icons, used in the dialog, from? In my case an app icon is corrupted (instead of mine, another app icon is used for my app), and I want to debug the issue. But for that I have to know, where is a source of…
noober
  • 4,819
  • 12
  • 49
  • 85
0
votes
1 answer

How can I perform different actions in windows batch file based on most recent version of installed program

Some of our computers run multiple versions of Microsoft Access (97 & 2010) while others run 365. For the pcs running multiple versions, the default is set to 97. I have a batch file that is performing various tests to see if files exist, and…
steve_g
  • 1
  • 1
0
votes
1 answer

Program that opens with different application than default

My friend's birthday is coming up, so another friend and I are working on a birthday card/prank. We wrote a short Python script that, upon execution, sleeps for a certain amount of time and then launches the virtual birthday card. We want to send…
0
votes
1 answer

set jar as default program for a file

I want to open a specific file-format with my own jar file. That means: I want to double-click the test.bo2 file and that should open my java program and send the path of that file (maybe as command-line argument). Is something like that…
Genae
  • 23
  • 1
  • 2
0
votes
2 answers

Making a default reader to open all files of a fixed extention (e.g. *.txt)

I am coding a JAVA reader to read .txt files as a substitution for notepad. Now, the problem is, I want to set that program to be the default program to open all .txt files. Now, how the program will distinguish which file I am opening via the…
iMagur
  • 721
  • 1
  • 6
  • 11