[TC 11.51] Virtual folders that are not saved in the directory history on XP/2003
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- 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
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
https://www.ghisler.com
Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003
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:
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:
Added another problematic GUID for \\Administrative Tools. That is, there are three, not two.№=::{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>\
Overquoting is evil! 👎
- ghisler(Author)
- 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
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
https://www.ghisler.com
Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003
Why? What's the reason?
Overquoting is evil! 👎
- ghisler(Author)
- 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
Because there is just no way to save these folders on XP.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.51] Virtual folders that are not saved in the directory history on XP/2003
Considering that I've pointed this way, your answer looks dismissive. Why did I waste my time on this post?
Overquoting is evil! 👎
- ghisler(Author)
- 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
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
https://www.ghisler.com