Internal Associations, 8.3 names
Moderators: Hacker, petermad, Stefan2, white
Internal Associations, 8.3 names
The latest build of Opera browser can open cyrillic-named files only via 8.3 name. Until it will be fixed by Opera devs, I have to use a button on TC's button bar which passes 8.3 name to Opera.exe or toggles cm_SwitchLongNames. But it's not the best solution - I need to open such files by pressing Enter.
Question:
Is there a way to associate program in Windows or TC 7.5 to open files by 8.3 name?
If not, suggestion to TC Internal associaton system:
in addition to "%1" some new parameter which passes 8.3 name.
Question:
Is there a way to associate program in Windows or TC 7.5 to open files by 8.3 name?
If not, suggestion to TC Internal associaton system:
in addition to "%1" some new parameter which passes 8.3 name.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
- ghisler(Author)
- Site Admin
- Posts: 49100
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe %p%n instead of %P%N works? It should pass the short dos name to Opera.
He said that you should NOT use "", just %1 alone...I already use quotes ("%1"), it doesn't help.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 49100
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, this was meant for a button, or a hotkey (via em_* user-defined command). These cannot be used yet in internal associations.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Sad. Please add this to your wish-list.ghisler(Author) wrote:Sorry, this was meant for a button, or a hotkey (via em_* user-defined command). These cannot be used yet in internal associations.
I have a button, but I need association.
So the only way for now is to write a program or script to convert "%1" into short name and pass it to desired app...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Just noted:
if to press Ctrl+Enter (and cm_SwitchLongNames is off) or drag file to command line, it displays a 8.3 name, but after pressing Enter, associated app using long name to open a file. It's a bug or feature?
if to press Ctrl+Enter (and cm_SwitchLongNames is off) or drag file to command line, it displays a 8.3 name, but after pressing Enter, associated app using long name to open a file. It's a bug or feature?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Define your internal association to:
If you want a generic 8.3 file opener, then define your internal association:
Create a file, OperaOpen83.cmd in system32 (or within %PATH%)OperaOpen83.cmd "%1"
Code: Select all
@ECHO OFF
CLS
START "" "C:\Program Files\Opera\Opera.exe" "%~s1"
Create a file, Open83.cmd in system32Open83.cmd "%ProgramFiles%\Opera\Opera.exe" "%1"
Code: Select all
@ECHO OFF
CLS
START "" "%~1" "%~s2"
Can i chane to
Then i select 3 files and use the command above,but i find that mplayer can only play the first file i select.When i change to
Thx for your reply
and Open83.cmd's content isOpen83.cmd "%2"
Code: Select all
@ECHO OFF
CLS
START "" "%COMMANDER_PATH%\TOOLS\Mplayer\mplayer.exe" "%~s1"
I will get three mplayer running at the same time,is there a parameter can send 8.3 path/names by sequence?Open83.cmd "%1"
Thx for your reply