Page 1 of 2
Internal Associations, 8.3 names
Posted: 2009-08-27, 16:24 UTC
by DrShark
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.
Posted: 2009-08-27, 16:26 UTC
by Postkutscher
I suggest you don`t use "" . This may help. Not tested thouth.
Posted: 2009-08-27, 16:38 UTC
by DrShark
I already use quotes ("%1"), it doesn't help.
Posted: 2009-08-27, 16:54 UTC
by Postkutscher
May be it was a translation problem. Sorry then. Я предложил НЕ использовать кавычки. Although, I have tested myself. It doesn`t helps.

Posted: 2009-08-27, 21:19 UTC
by ghisler(Author)
Maybe %p%n instead of %P%N works? It should pass the short dos name to Opera.
I already use quotes ("%1"), it doesn't help.
He said that you should NOT use "", just %1 alone...
Posted: 2009-08-27, 21:23 UTC
by DrShark
ghisler(Author) wrote:Maybe %p%n instead of %P%N works?
How can I use TC's params (like %p%n or %P%N) in Internal Associations?
Posted: 2009-08-27, 21:30 UTC
by ghisler(Author)
Sorry, this was meant for a button, or a hotkey (via em_* user-defined command). These cannot be used yet in internal associations.
Posted: 2009-08-27, 21:38 UTC
by DrShark
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.
Sad. Please add this to your wish-list.
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...
Posted: 2009-08-27, 21:51 UTC
by DrShark
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?
Posted: 2009-08-27, 22:35 UTC
by Balderstrom
Define your internal association to:
OperaOpen83.cmd "%1"
Create a file,
OperaOpen83.cmd in system32 (or within %PATH%)
Code: Select all
@ECHO OFF
CLS
START "" "C:\Program Files\Opera\Opera.exe" "%~s1"
If you want a generic 8.3 file opener, then define your internal association:
Open83.cmd "%ProgramFiles%\Opera\Opera.exe" "%1"
Create a file,
Open83.cmd in system32
Code: Select all
@ECHO OFF
CLS
START "" "%~1" "%~s2"
Posted: 2009-08-27, 23:58 UTC
by DrShark
Balderstrom
Thanks very much for your batch scripts, they are works here!
Posted: 2009-08-28, 07:38 UTC
by MVV
DrShark, my Opera also sometimes don't opens files with Russian names. But I found a reason. Try to play with "Encode international Web adresses with UTF-8" checkbox in Network settings on Advanced tab in Preferences dialog (set this checkbox on).
Posted: 2009-08-28, 07:43 UTC
by DrShark
I know that opera:config#Network|UTF8EscapeURLs tweak helps, but I need to have it disabled, so 8.3 names currently is the only solution for me.
Posted: 2012-11-25, 07:35 UTC
by kesdoputr
Can i chane to
Open83.cmd "%2"
and Open83.cmd's content is
Code: Select all
@ECHO OFF
CLS
START "" "%COMMANDER_PATH%\TOOLS\Mplayer\mplayer.exe" "%~s1"
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
Open83.cmd "%1"
I will get three mplayer running at the same time,is there a parameter can send 8.3 path/names by sequence?
Thx for your reply

Posted: 2012-11-25, 10:22 UTC
by HolgerK
kesdoputr wrote:Can i chane to
Open83.cmd "%2"
Try
Open83.cmd %2
without quotes.
This
START "" "%COMMANDER_PATH%\TOOLS\Mplayer\mplayer.exe" "%~s1"
should be changed to
START "" "%COMMANDER_PATH%\TOOLS\Mplayer\mplayer.exe" %*
Regards
Holger