Access network drives

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jr@qsm.co.il
Junior Member
Junior Member
Posts: 3
Joined: 2022-04-26, 16:07 UTC

Access network drives

Post by *jr@qsm.co.il »

When I connect via VPN to my office, total commander will not ley me access the office network drives until I open then in the Windows explorer.
Windows 10.
This is not a new situation, but I have decided it might be worth reporting.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access network drives

Post by *ghisler(Author) »

Sorry, no idea. Maybe you need to call "net use" via command line?
Author of Total Commander
https://www.ghisler.com
jr@qsm.co.il
Junior Member
Junior Member
Posts: 3
Joined: 2022-04-26, 16:07 UTC

Re: Access network drives

Post by *jr@qsm.co.il »

What is the difference between the way Windows Explorer accesses a drive and the way Total Commander does it? Should there be a difference?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access network drives

Post by *ghisler(Author) »

TC calls WNetAddConnection3 (with interactive option, so it will prompt for password if needed) if it cannot access a share. I don't know what the Explorer uses.

You can use other values than 0 for UseShellConnect in wincmd.ini, just add it under [Configuration], e.g.
UseShellConnect=1

1: use old method to connect to network shares (Workaround for VINES)
-1: show separate dialogs for user and password (for crash by NVIDIA driver)
Author of Total Commander
https://www.ghisler.com
jr@qsm.co.il
Junior Member
Junior Member
Posts: 3
Joined: 2022-04-26, 16:07 UTC

Re: Access network drives

Post by *jr@qsm.co.il »

Thanks.
Post Reply