TC 11.00b7 64-bit
Windows 11 Pro, default locale = Simplified Chinese
I have several commands defined in the Start menu, I passed %n as parameter to the target executable. Since 11.00 b7, the %n argument value is wrong just like the string is not initialized (some garbage code). It was correct in b6.
[TC 11.00 b7] wrong %n value in Start menu command
Moderators: Hacker, petermad, Stefan2, white
Re: [TC 11.00 b7] wrong %n value in Start menu command
Thats a known problem, the usage of short 8.3 file names is broken in b7.wc1996 wrote: 2023-06-19, 04:00 UTC TC 11.00b7 64-bit
Windows 11 Pro, default locale = Simplified Chinese
I have several commands defined in the Start menu, I passed %n as parameter to the target executable. Since 11.00 b7, the %n argument value is wrong just like the string is not initialized (some garbage code). It was correct in b6.
Why can't you use %N ?
The lowercase was only intented for programs which can't handle long names.
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.00 b7] wrong %n value in Start menu command
It is a very old program which cannot correctly handle file names with spaces, so I have to pass 8.3 file names to it as a workaround.Horst.Epp wrote: 2023-06-19, 08:11 UTCThats a known problem, the usage of short 8.3 file names is broken in b7.wc1996 wrote: 2023-06-19, 04:00 UTC TC 11.00b7 64-bit
Windows 11 Pro, default locale = Simplified Chinese
I have several commands defined in the Start menu, I passed %n as parameter to the target executable. Since 11.00 b7, the %n argument value is wrong just like the string is not initialized (some garbage code). It was correct in b6.
Why can't you use %N ?
The lowercase was only intented for programs which can't handle long names.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 b7] wrong %n value in Start menu command
It will be fixed in beta 8, sorry for the inconvenience.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 b7] wrong %n value in Start menu command
This should be fixed in beta 8, please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00 b7] wrong %n value in Start menu command
I tested with my old program and I think it's fixed. Thank you.