TC does not process %$PERSONAL% if x64 redirection disabled

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

TC does not process %$PERSONAL% if x64 redirection disabled

Post by *Flint »

TC 7.02a, Vista x64 Ultimate.

1. Start TC with x64DisableRedirection=0, type in command line: cd %$PERSONAL%. TC will go into the user's documents folder.
2. Do the same with x64DisableRedirection=1 — TC does nothing.

I performed additional check: type in command line the following command:

Code: Select all

cmd /c echo %$PERSONAL% && pause
With x64DisableRedirection=0 it will show:
C:\Users\Flint\Documents\
Press any key to continue . . .
with x64DisableRedirection=1 it will be:
%$PERSONAL%
Press any key to continue . . .
The same concerns some other pseudo-variables. I checked them all, and here are the results:

Working fine:
%$APPDATA%
%$DESKTOP%
%$STARTMENU%
%$PROGRAMS%
%$STARTUP%
%$FONTS%
%$LOCAL_APPDATA%
%$COMMON_APPDATA%
%$COMMON_DESKTOPDIRECTORY%
%$COMMON_STARTMENU%
%$COMMON_PROGRAMS%
%$COMMON_STARTUP%

Not working:
%$PERSONAL%
%$MYPICTURES%
%$MYMUSIC%
%$MYVIDEO%
%$COMMON_DOCUMENTS%
%$COMMON_PICTURES%
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Apparently the function to get these variables must be failing, probably because Windows is trying to load some additional dll from the redirected directory...
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Fixed in 7.03.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply