Custom sort of disks in drive combo box

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
cerberis
Junior Member
Junior Member
Posts: 8
Joined: 2007-08-10, 10:45 UTC

Custom sort of disks in drive combo box

Post by *cerberis »

Is it possible to add functionality to sort drives using their physical location instead of drive letter? Similar behavior you can see in My Computer window: right mouse click->Group By->Type.

For example, I have few local disks (C, X, Y) and some always mapped network disks (I, J, K). It would be very feature to sort them in this order: (C, X, Y, I, J, K).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50549
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Interesting idea, I will consider it.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think simple parameter is enough that specify letters order: CXYIJKABC.
TC may add non-specified letters to end of string alphabetically to get all 26. So, if parameter is not set, we will have old display order. Or if only single letter is specified, that drive will be displayed first. :) and simple index array (or even pair of index arrays - to get letter from index and back) will allow to draw and process buttons.
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

2cerberis
The TWinKey plugin can at least partially solve this problem. On the "Drive List" page two orders of drives can be set: "Alphabetic" and "Categorized". The latter one means: hard disks first, then removable, then CD-ROMs, and finally network ones.
Single user license #329241
PowerPro scripts for Total Commander
cerberis
Junior Member
Junior Member
Posts: 8
Joined: 2007-08-10, 10:45 UTC

Post by *cerberis »

MVV wrote:I think simple parameter is enough that specify letters order: CXYIJKABC.
TC may add non-specified letters to end of string alphabetically to get all 26. So, if parameter is not set, we will have old display order. Or if only single letter is specified, that drive will be displayed first. :) and simple index array (or even pair of index arrays - to get letter from index and back) will allow to draw and process buttons.
I think, from user perspective easiest way would be to select grouping type: Normal, By Type.. or smth. without writing exact order..
Anyway it can change when for example usb flash drive is connected.
cerberis
Junior Member
Junior Member
Posts: 8
Joined: 2007-08-10, 10:45 UTC

Post by *cerberis »

Vochomurka wrote:2cerberis
The TWinKey plugin can at least partially solve this problem. On the "Drive List" page two orders of drives can be set: "Alphabetic" and "Categorized". The latter one means: hard disks first, then removable, then CD-ROMs, and finally network ones.
Currently I am using TC 8 x64, so currently not a solution. But thanks for hint.
Post Reply