1

Using the java.awt.Desktop class in an application, I noticed that you can call various actions on files. It's possible to both call an edit - and open action on, say html files, which in theory then would get the default application for this file and action.

This is a nice feature, as I want a browser to open my html files, but a text editor to edit html files. But this does not seem to be implemented in any OS I've come across.

In which operational system is it actually possible to select different programs for open and edit actions?

1
  • Many operating systems allow you to open a file for read-only vs read/write. A few have multiple concepts of read/write access. Eg, some actions cause a file to be automatically "versioned" (and sometimes the changes only kept as a "delta" vs a new file image). There is more to computing than Windows. Jun 27, 2014 at 11:38

1 Answer 1

3

Windows 7 allows for this feature, which made its début on Windows XP SP3. The GUI is no longer visible to allow for changing the behavior differences, but you can edit it via tools that modify the registry. http://www.nirsoft.net/utils/file_types_manager.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .