[TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Moderators: Hacker, petermad, Stefan2, white
[TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Command line parameters forwarder is not working properly any more when using method from Compare files with Total Commander
Following button bar does not work
Beyond Compare
* Command: `"C:\Program Files\Beyond Compare 4\BCompare.exe"`
* Tooltip: `Compare Files`
* Parameters: `"%p%n" "%t%m"`
Once Beyond Compare is started it informs about not found files ( files to be compared c:\TEMP\test1.txt and c:\TEMP\test2.txt )
* left side shows like `c:\TEMP\hãà`
* right side shows like `c:\TEMP\Hká`
However works with following
Cygwin
* `C:\APPS\cygwin\Cygwin.bat`
* Parameters: `%p`
* Start path: `<EMPTY>`
Works with TC 11.00b6 and earlier.
Following button bar does not work
Beyond Compare
* Command: `"C:\Program Files\Beyond Compare 4\BCompare.exe"`
* Tooltip: `Compare Files`
* Parameters: `"%p%n" "%t%m"`
Once Beyond Compare is started it informs about not found files ( files to be compared c:\TEMP\test1.txt and c:\TEMP\test2.txt )
* left side shows like `c:\TEMP\hãà`
* right side shows like `c:\TEMP\Hká`
However works with following
Cygwin
* `C:\APPS\cygwin\Cygwin.bat`
* Parameters: `%p`
* Start path: `<EMPTY>`
Works with TC 11.00b6 and earlier.
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
2Jyte
HAve you perhaps updated your BCompare.exe ?
You are using the parameters "%p%n" "%t%m" instead of %P%N and %T%M - that means that you are passing the short 8.3 DOS names to the program, maybe the program can't handle that.
HAve you perhaps updated your BCompare.exe ?
You are using the parameters "%p%n" "%t%m" instead of %P%N and %T%M - that means that you are passing the short 8.3 DOS names to the program, maybe the program can't handle that.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Thanks 2petermad, with following it started to work also when using TC 11.00b7
* Parameters: "%P%N" "%T%M"
Only reason for change was updated Total Commander.
Personal licence #7588, another licence for work use

* Parameters: "%P%N" "%T%M"
Only reason for change was updated Total Commander.
Personal licence #7588, another licence for work use
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Moderator message from: white » 2023-06-17, 10:05 UTC
Removed a certain unicode character from the subjects of the posts that caused problems for feeds.
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Peculiar that it worked before beta7 with lowercase parameters but not with beta7Only reason for change was updated Total Commander.
On newer WIndows versions, it is only drive C that supports old 8.3 filenames by default. Could it maybe be on other drives that it worked for you before? Plese try with %p%n %t%m on files on some other drives than C.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Tested again using following files to be compared ( Note! filenames with space and number and using TC 11.00b6 )
* c:\TEMP\test 1.txt
* c:\TEMP\test2.txt
Results
* parameters: "%P%N" "%T%M" - opens 3 windows saying file not found on all
* parameters: "%p%n" "%t%m" - works as expected
When doing same tests using TC 11.00b7 neither are working, did not test with different drives.
No other changes to setup than TC versions.
Would you please be kind and find way to go forward this - I will stay with beta 6...
* c:\TEMP\test 1.txt
* c:\TEMP\test2.txt
Results
* parameters: "%P%N" "%T%M" - opens 3 windows saying file not found on all
* parameters: "%p%n" "%t%m" - works as expected
When doing same tests using TC 11.00b7 neither are working, did not test with different drives.
No other changes to setup than TC versions.
Would you please be kind and find way to go forward this - I will stay with beta 6...
Code: Select all
button28=C:\Program Files\Beyond Compare 4\BCompare.exe
cmd28=""C:\Program Files\Beyond Compare 4\BCompare.exe""
param28=""%p%n" "%t%m""
path28=C:\Program Files\Beyond Compare 4\
menu28=Compare Files ( lowercase )
Code: Select all
button39=C:\Program Files\Beyond Compare 4\BCompare.exe
cmd39=""C:\Program Files\Beyond Compare 4\BCompare.exe""
param39=""%P%N" "%T%M""
path39=C:\Program Files\Beyond Compare 4\
menu39=Compare Files ( uppercase )
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Now tested also with USB drive as D: - neither are working when there is spaces in use.
Btw Win10 and thanks for hint about short name support, were not in need to think that earlier ( having only one drive, C: )
Btw Win10 and thanks for hint about short name support, were not in need to think that earlier ( having only one drive, C: )
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
I can confirm a similar bug here.
I have a button with Beyond Compare using %c1 and %c2
which works fine with b6 but no longer using b7
The same problem with a WinMerge button.
I have a button with Beyond Compare using %c1 and %c2
which works fine with b6 but no longer using b7
The same problem with a WinMerge button.
Code: Select all
TOTALCMD#BAR#DATA
C:\Tools\Beyond Compare 2\BC2.exe
%c1 %c2
C:\Tools\Beyond Compare 2\BC2.exe
Beyond Compare
0
-1
Code: Select all
TOTALCMD#BAR#DATA
C:\Tools\WinMerge\WinMergeU.exe
%c1 %c2
C:\Tools\WinMerge\WinMergeU.exe
WinMerge
0
-1
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
2Jyte
Don't put quotes around %P%N! TC adds them by itself (uppercase only, obviously). If you want to put quotes there explicitely use "%P%O.%E" instead.
Regards
Dalai
Don't put quotes around %P%N! TC adds them by itself (uppercase only, obviously). If you want to put quotes there explicitely use "%P%O.%E" instead.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
2Jyte
Try these:
and
Try these:
Code: Select all
button28=C:\Program Files\Beyond Compare 4\BCompare.exe
cmd28=""C:\Program Files\Beyond Compare 4\BCompare.exe""
param28=%p%n %t%m
path28=C:\Program Files\Beyond Compare 4\
menu28=Compare Files ( lowercase )
Code: Select all
button39=C:\Program Files\Beyond Compare 4\BCompare.exe
cmd39=""C:\Program Files\Beyond Compare 4\BCompare.exe""
param39=%Q"%P%N" "%T%M"
path39=C:\Program Files\Beyond Compare 4\
menu39=Compare Files ( uppercase )
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
The case sensitivity of vars seems to me more a change within windows itself with the last (May) update. I haven't checked that out yet though.
Last edited by JOUBE on 2023-06-18, 07:40 UTC, edited 1 time in total.
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
I found that my problem with %c1 and %c2 is caused by the broken support for 8.3 file names.
Using lower case c1 and c2 was by accident but it stopped to work with b7.
Using lower case c1 and c2 was by accident but it stopped to work with b7.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
The support in TC 11.00b7 for short filenames if indeed broken in TC 11.00b7
I checked the support for 8.3 names among TC's parameters.
Affected parameters are: %n, %m, %o, %c, %s, %f, %l (only filenames, not path), %d, %D (only filenames, not path).
%e does not show anything at all
%p, %t and %b are not affected.
It is different between 32bit TC and 64bit TC what is put in instead of the affected parameters:
Test with Windows 7:
For 32bit TC the affected parameters are replaced by: ٣A
For 64bit TC the affected parameters are replaced by: Ømá followed by a tab-space.
Test with Windows 10:
For 32bit TC the affected parameters are replaced by: random characters (sometimes even the correct short filename)
For 64bit TC the affected parameters are replaced by: hná folloved by hex charracter 01
I checked the support for 8.3 names among TC's parameters.
Affected parameters are: %n, %m, %o, %c, %s, %f, %l (only filenames, not path), %d, %D (only filenames, not path).
%e does not show anything at all
%p, %t and %b are not affected.
It is different between 32bit TC and 64bit TC what is put in instead of the affected parameters:
Test with Windows 7:
For 32bit TC the affected parameters are replaced by: ٣A
For 64bit TC the affected parameters are replaced by: Ømá followed by a tab-space.
Test with Windows 10:
For 32bit TC the affected parameters are replaced by: random characters (sometimes even the correct short filename)
For 64bit TC the affected parameters are replaced by: hná folloved by hex charracter 01
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
It's the same reason as the F4 problem:
viewtopic.php?t=79355
It will be fixed all together in beta 8.
viewtopic.php?t=79355
It will be fixed all together in beta 8.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00b7] Comparing files with Total Commander shows "c:\TEMP\hãà" and "c:\TEMP\Hká"
Is it also related to this bug: https://ghisler.ch/board/viewtopic.php?t=79345 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar