Multi Commander > Support and Feedback
No refresh of shown network share after mapping a drive letter to another share
Tom:
Assume that W: is mapped to \\pc1\c$. Then I see in the panel drop down list:
(W:) c$ (\\pc1)
and I see W: in the drive bar.
If I disconnect the drive W: then W: disappears from panel drop down list and from drive bar.
If I then connect W: to \\pc2\d$ then W: appears again on panel drop down list and on drive bar. But in panel drop down list is not shown the expected
(W:) d$ (\\pc2)
Instead the old mapping is shown:
(W:) c$ (\\pc1)
Of course W: is correctly connected to \\pc2\d$ only the wrong (old) mapping is shown.
The mapping/disconnecting commands are done from Windows. I'm pretty sure that Windows informs all opened programs about the changes in drive letters. MC get the info (W: disappears from drive bar) but on a new mapping MC does not re-read all connected network drives and therefore uses the old values from first mapping.
At work I have to manage several hundreds of PCs. So remapping drive letters is often be done. Therefore it's a bit confusing if the wrong mapping is shown.
Tom:
If I restart MC then of course the list of mapped drives is re-read and then the drop down list shows the correct mappings. So the mismatch only occurs when changing mappings while MC is running.
Mathias (Author):
MC should receive information if the device is disconnected. and normally is.
Not sure why it does not work for you. Might depends on what typ of network device it is.
Last in the Device dropdown menu, you find "refresh devices", That should refresh everything in the list.
Tom:
Ok, found "Refresh Devices" in the Device dropdown menu. But how can I run "Refresh Devices" automatically after a new mapping? I use an external program (Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL Connect) to map a drive. I added as User Command "Map network drive..." and combined it with hotkey F11. I haven't found an internal command "Refresh devices". But even if this would exist, I have no idea how to combine an external with an internal command.
Anyway MC should do the "Refresh Devices" itself without any interactive or user defined action.
Mathias (Author):
You can't.. You should not need to
And I said.. Normally Windows will let MC know when new devices are added or removed, If that is not happening for you then something is blocking that message from reaching MC.
(Can happen if you run MC with sandboxing or other similar security technologies to limit programs )
In Core Settings > Logging. if the Application log Level is at least "Info" or higher ( Info or debug ) then in the application log (ctrl+L) you will see if MC is receiving device broadcast info or not.
Looking like this
--- Code: ---2016-12-17 15:22:28.126 Device Change Broadcast received. (Device Arrival) New Media : F
2016-12-17 15:23:12.684 Device Change Broadcast received. (Device Removed) Remove Drive : F
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version