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.
Internal associations not fully supported for *.bat, others
Moderators: Hacker, petermad, Stefan2, white
Internal associations not fully supported for *.bat, others
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Internal associations not fully supported for *.bat, others
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.
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
https://www.ghisler.com
Re: Internal associations not fully supported for *.bat, others
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
Ukraine's National Bank special bank account:
UA843000010000000047330992708