Author Topic: In Device Dropdown, show drive letter FIRST  (Read 17680 times)

Tom

  • Junior Member
  • **
  • Posts: 45
    • View Profile
In Device Dropdown, show drive letter FIRST
« on: October 02, 2016, 15:50:38 »
If you use drive letters for UNC network paths, then the drive letter is shown between server and share.

Example: In Command window you can set an example network path to your local drive C:
net use R: \\localhost\c$

Then in the Device Dropdown this is shown as:
(\\localhost) (R:) c$

I would prefer to see the drive letter first:
(R:) (\\localhost\c$)

Is there any chance to set the drive letter to the left side?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4409
    • View Profile
    • Multi Commander
Re: In Device Dropdown, show drive letter FIRST
« Reply #1 on: October 02, 2016, 18:07:11 »
I'm not sure how you are able to get it to show "(\\localhost) (R:) c$"

It should be shown as "(R:) c$ (\\localhost)"    =  "(<Device>) <Share>  (<Server>)"




Tom

  • Junior Member
  • **
  • Posts: 45
    • View Profile
Re: In Device Dropdown, show drive letter FIRST
« Reply #2 on: October 02, 2016, 19:04:25 »
I just checked my settings. The behaviour depends on the following registry value:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShowDriveLettersFirst

If ShowDriveLettersFirst = 0 (= Default value) then you have

Explorer: "c$ (\\localhost) (R:)" = "<Share> (<Server>) (<Device>) "
MC: "(R:) c$ (\\localhost)" = "(<Device>) <Share>  (<Server>)" 


I already changed the value to 4, so that the explorer has the drive letter first:
ShowDriveLettersFirst = 4  (DWord 32bit) which gives

Explorer: "(R:) c$ (\\localhost)" = "(<Device>) <Share> (<Server>)"
MC: "(\\localhost) (R:) c$" = "(<Server>) <Device>) <Share>"

So the only chance to get the same settings in Windows Explorer and MC would be that MC respects the registry value ShowDriveLettersFirst.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4409
    • View Profile
    • Multi Commander
Re: In Device Dropdown, show drive letter FIRST
« Reply #3 on: October 02, 2016, 23:00:22 »
You change a settings for Windows Explorer and it changes in MC ?
Strange.

Hmm I have not check But I thought that string was built by MC.. but it might be that MC asks Windows for the display name of the device.
I have to check.. (Long time ago I wrote that. Can't remember everything)



Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 536
  • Old Skull
    • View Profile
Re: In Device Dropdown, show drive letter FIRST
« Reply #4 on: October 03, 2016, 09:33:51 »
One more FR: Ctrl+Enter to open dropdown item in a new tab.

Tom

  • Junior Member
  • **
  • Posts: 45
    • View Profile
Re: In Device Dropdown, show drive letter FIRST
« Reply #5 on: October 03, 2016, 11:22:33 »
Ctrl+Enter is already used to paste the focussed directory name or focussed file name to the command bar. And this should not be changed because this was used for decades in several Commander variants.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4409
    • View Profile
    • Multi Commander
Re: In Device Dropdown, show drive letter FIRST
« Reply #6 on: October 03, 2016, 12:14:59 »
One more FR: Ctrl+Enter to open dropdown item in a new tab.
You already it if holding shift key.
Might be possible to also add ctrl key

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4409
    • View Profile
    • Multi Commander
Re: In Device Dropdown, show drive letter FIRST
« Reply #7 on: October 03, 2016, 12:17:31 »
Ctrl+Enter is already used to paste the focussed directory name or focussed file name to the command bar. And this should not be changed because this was used for decades in several Commander variants.
if the input focus is in a open device dropdown, I think it will work