Windows XP has a very confusing way of listing files in directories. Let me give you a small explanation. How would Windows XP sort the files abc1, abc101, abc4, abc401, abc8 ? No, it is not like I have ordered them in the last sentence. The default order for those files would be abc1, abc4, abc8, abc101 and abc401. The reason behind this is that Windows XP considers the numbers to be just that which means that 101 is a larger number than 4 or 8.
The logical way of sorting files would be in my opinion to see numerals in those filenames as text as well. This would sort the filenames in a natural way like shown above. Windows 2000 has this default sort order and it is possible to enable it in Windows XP as well.
The setting can be edited as usual in the Registry. Press Windows R, type regedit and hit enter. Now navigate to the Registry key HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ Currentversion \ Policies \ Explorer and create a new DWORD called NoStrCmpLogical.
Set the value of the new key to 1 if you prefer the way Windows 2000 handles those filenames or to 0 if you prefer the way Windows XP does it.
Windows 2000: abc1, abc101, abc4, abc401, abc8
Windows XP: abc1, abc4, abc8, abc101, abc401
Like such posts? Get updates via RSS NEWS FEED. Love Ghacks? Find out how you can help!
Related Posts
8 Users Commented In This Post
Subscribe To This Post Comment Rss Or TrackBack URL