[TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50561
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *ghisler(Author) »

Sorry but it doesn't work that way. I could check whether the folder returns %windir%\fonts, but this wouldn't help when the fonts folder was moved.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *Fla$her »

What does it matter if the folder is moved or not, if we are talking about a virtual folder with a GUID?
When you go to the folder with the GUID on XP/2003, you will see only the name (without the path). Don't confuse with cm_OpenFonts.
To get a localized name, you will read the parameter value when open a folder or saving the history (cm_ConfigSaveDirHistory or close/restart):
HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\@%WinDir%\system32\SHELL32.dll,-9227
HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\@%WinDir%\system32\SHELL32.dll,-22981
HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\@%WinDir%\system32\SHELL32.dll,-22982

And if it matches \\<localized folder name>\, you will write the GUID to ini:
=::{450D8FBA-AD25-11D0-98A8-0800361B1103}|\\<localized 'My Documents' folder name>\
=::{D20EA4E1-3957-11d2-A40B-0C5020524152}|\\<localized 'Fonts' folder name>\
=::{D20EA4E1-3957-11D2-A40B-0C5020524153}|\\<localized 'Administrative Tools' folder name>\
Added another problematic GUID for \\Administrative Tools. That is, there are three, not two.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50561
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *ghisler(Author) »

Moderator message from: ghisler(Author) » 2025-05-13, 09:23 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *Fla$her »

Why? What's the reason?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50561
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *ghisler(Author) »

Because there is just no way to save these folders on XP.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *Fla$her »

Considering that I've pointed this way, your answer looks dismissive. Why did I waste my time on this post?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50561
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003

Post by *ghisler(Author) »

Sorry, I do not understand what you mean with that post. I don't have a GUID, I have an item id list. I somehow need to get the GUID from that item id list to be able to save it. I could not find a way to get this on XP.
Author of Total Commander
https://www.ghisler.com
Post Reply