Internal associations not fully supported for *.bat, others

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Internal associations not fully supported for *.bat, others

Post by *DrShark »

Some Internal associations features don't work for *.bat (seems also *.exe, maybe others):
1) it's not possible to set an app (like Editor) for default Open action (system association is used instead);
2) it's not possible to set a custom icon for such extensions.

Both issues confirmed with *.bat and customname.bat as Internal associations extensions (using customname.bat as an extension is a nice way to define custom icon and/or association to certain file name.)

Note: internal associations for *.bat/customname.bat defined as additional actions (present as internal context menu items) work as expected.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Internal associations not fully supported for *.bat, others

Post by *ghisler(Author) »

Yes, *.bat *.exe are excluded from redefinition so you don't accidentally disable opening of programs.
This is necessary because users can define very broad rules like
*.*
or
*.e*

which would include exe files too.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Internal associations not fully supported for *.bat, others

Post by *DrShark »

Please let such redefinition (enabled using additional ini option) for those who know what they are doing. BTW, even Windows Explorer allows to set editor as default app for bat files.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply