#1 2008-01-25 17:00

Nam
Member
Registered: 2008-01-25
Posts: 16

Folders list not in alphabetical order

Hi everybody,

Apologies if this has been answered...

When making "Add folders", a window named "Browse" opens and all the folders are mixed with no order : it is very hard to find the required folder.

Can you friendly tell me the workaround to have an alphabetically sorted list ?

Regards.

Offline

#2 2008-01-25 18:37

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Folders list not in alphabetical order

Hi Nam, welcome.

Nam wrote:

When making "Add folders", a window named "Browse" opens
and all the folders are mixed with no order : ....

I on my own can't confirm this behaviour. Tested with several betas since 5.10, and with 5.10 itself also on XP.


> workaround to have an alphabetically sorted list ?
That should be the standard roll



That Denis can better help you, it's not bad to provide a few info about your system:
* ReNamer 5.10 from 12 Oct 2007,  no "beta" version ?
* Operation System: Windows ..xyz. ?
* The sorting in WinExplorer is alphabetically?



--
I think that "Settings > General > Use natural order" doesn't help here. I mean this is for the list of files to be renaming? Don't be sure...


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2008-01-26 04:45

Nam
Member
Registered: 2008-01-25
Posts: 16

Re: Folders list not in alphabetical order

Thanks Stefan !

I use final ReNamer 5.10 on Windows 98 SE + IE 6.
In Explorer, folders are alphabetically ordered : in parent folder "Arrange Icons" "by Name".
The "Add Files" window which is WINDOWS default, works just fine...
"natural order" don't help...
Have found identical problem on another renamer : I think it's a bad linking with Win98 SE, have gone to another proggy. sad

Friendly regards.

Last edited by Nam (2008-01-27 05:43)

Offline

#4 2008-01-30 00:12

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Folders list not in alphabetical order

Hi Nam smile

This is due to the way in which my "Add Folders" dialog work. It's not a standard windows dialog, as you already guessed. Usually, programmers use Shell API for calling dialogs which let you browse for files/folders, but I had to write my own component for browsing for folders, in order to support Unicode filenames on 2000/XP/Vista while still supporting older Windows versions without Unicode capabilities, and to have some custom functionality.

"Add Folders" dialog starts up with all hard drives, "My Documents" and "Desktop" folders. Then, when user expands any of the nodes, application scans the selected folder for subfolders (at the background). That is a crucial point: subfolders are added in the order at which they appear in the file system. Strange enough, I never noticed that the files would normally appear ordered on Windows XP (and possibly in all other versions starting from Windows 2000), but unordered on older versions of Windows, e.g. '98 - as reported by you.

Just did a quick search on MSDN for more info, found this (MSDN FindNextFile Function):

The order in which the search returns the files, such as alphabetical order, is not guaranteed, and is dependent on the file system. You cannot depend on any specific ordering behaviour. If the data must be sorted, you must do the ordering yourself after obtaining all the results.

I guess I need to sort explicitly, to ensure the ordered list. I will implement this shortly and will post a link for you to test.

Offline

#5 2008-01-30 00:29

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Folders list not in alphabetical order

Here we go, try this: ReNamerBeta.zip

* Folders in "Add Folders" dialog are explicitly sorted.

Offline

#6 2008-01-30 22:22

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Folders list not in alphabetical order

This feature is now in the official ReNamer 5.20 release.

Offline

#7 2008-01-30 22:56

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Folders list not in alphabetical order

Thank you for your work, Denis.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#8 2008-02-01 12:17

Nam
Member
Registered: 2008-01-25
Posts: 16

Re: Folders list not in alphabetical order

den4b wrote:

This feature is now in the official ReNamer 5.20 release.

WELL DONE !  cool

It works just fine, now, on Win98 SE...

Thanks Mr. Denis !  wink

(Thanks also for your long and right answer...)

Offline

Board footer

Powered by FluxBB