Sorting in policies folder
Moderators: Hacker, petermad, Stefan2, white
Sorting in policies folder
On a domain controller, i went to C:\Windows\SYSVOL\sysvol\<domain>\Policies\ folder. Several subfolder named {xxxx-xxxx-xxxx...} existed under there (SIDs) but even though the sorting was set to "by extension", they appeared unsorted. Is there an explanation for this or it's a bug? I assume the latter.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Folders are not sorted by extension, even if you choose to sort folders like files. It has been disabled by popular demand.
However, you can re-enable it manually.
Please add the following string to the file wincmd.ini, section [Configuration]:
SortDirExt=1
You can edit the wincmd.ini via Configuration - Change settings files directly.
However, you can re-enable it manually.
Please add the following string to the file wincmd.ini, section [Configuration]:
SortDirExt=1
You can edit the wincmd.ini via Configuration - Change settings files directly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
OK, i guess i wasn't clear on this. I know folders are sorted by name. The problem is that the folders i'm talking about have no extension but they are also not sorted by name. They all start with {, and with } and have SIDs in between (sets of numbers separated by -'s. Is there a reason they appear totally unsorted - or rather sorted in a strange order?ghisler(Author) wrote:Folders are not sorted by extension, even if you choose to sort folders like files. It has been disabled by popular demand.
However, you can re-enable it manually.
Please add the following string to the file wincmd.ini, section [Configuration]:
SortDirExt=1
You can edit the wincmd.ini via Configuration - Change settings files directly.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Are you using "natural sorting"? This uses a Windows mechanism to sort both by characters and numbers. The function probably gets confused by the numbers in these names.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Ha. Yes, that's the case.
I have "Nat. sort.: aplha and numbers". Changed to "Strictly by num. char code" and it sorted them normally.
Thanks.
I have "Nat. sort.: aplha and numbers". Changed to "Strictly by num. char code" and it sorted them normally.
Thanks.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It uses StrCmpLogicalW from Shlwapi library - it leads to different results depending on the installed language. The Explorer seems to use this function too.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
You can find a similar directory in c:\windows\installer to test with.
Here SortUpper=0, 1 or 3 seems to sort these entries correct, but not SortUpper=3.
NTFS also seems to sort them OK (test with Ctrl+F7 Unsorted).
Here SortUpper=0, 1 or 3 seems to sort these entries correct, but not SortUpper=3.
NTFS also seems to sort them OK (test with Ctrl+F7 Unsorted).
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