File Extensions Association: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
[[Image:PMDLL-Association003.PNG|400px]]
[[Image:PMDLL-Association003.PNG|400px]]


On this picture the "pmdll.exe" shows up because I set the association to the EXE file, and the PMDLL is because I set the association to the shadow too, this is why you see two.
On this picture the "pmdll.exe" shows up because I set the association to the EXE file, and the PMDLL it is also there because I set the association to the shadow too, this is why you see two.


==Alternative 2 - Associating by File Extension==
==Alternative 2 - Associating by File Extension==

Revision as of 16:22, 4 June 2016

On OS/2 and eComStation you can also (like other OSes) associate a file extension to an specific application to open that file.

Alternative 1 - Associating File Types

Let's suppose we have this program called "PMDLL.EXE" and we want all *.DLL files associated to this program, so when you double click a DLL file you will open it.

One alternative is to grab the "PMDLL.EXE" and do a right-click on it and select "Properties". On the properties you can select "Association" tab and associate PMDLL.EXE with a "File Type" listed there, on this case is "Dynamic Link Library".


There is another alternative, instead of putting the "Association" to the .EXE file, you can put it to the PMDLL "shadow object" on your desktop.


After doing that, we can select a DLL file, go to "Settings" and select its "Type", on this case it is "Dynamic Link Library".

You will notice now that PMDLL.EXE is associated to open that DLL file.

On this picture the "pmdll.exe" shows up because I set the association to the EXE file, and the PMDLL it is also there because I set the association to the shadow too, this is why you see two.

Alternative 2 - Associating by File Extension

The other alternative that you can use is to associate an specific program (exe file or shadows) to an specific file extension.