I like to run Total Commander in Administrator mode for various reasons. On connect/disconnet of USB drives, the new drive letter is picked up fine by TC. BUT, if you MAP a network drive OUTSIDE TC, this new drive is NOT picked up. You have to stop and restaret TC! And visa versa for DISCONNECT a Network drive. If you do this connect/disconnect IN TC, there is not a problem.
Could someone look at this?
Total Commander in Admin Mode does NOT see mapped drives
Moderators: Hacker, petermad, Stefan2, white
Welcome Thoro,
Do you use Vista or Win7?
If yes, this may explain your problem: On Vista, mapped drives are user-specific
Regards
Holger
Do you use Vista or Win7?
If yes, this may explain your problem: On Vista, mapped drives are user-specific
Regards
Holger
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed, that's a new "feature" of Windows, not a TC bug.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Workaround: establish needed connections/drive associations once when starting TC as Administrator.
Either after starting TC:
- simply make a button etc. in TC calling the needed commands (net.exe/subst.exe)
or before/while starting TC:
- start TC using a Shortcut like "TC_Administrator.lnk":
Example content of "C:\Batch\TC_connect_and_start.cmd":
Drives connected this way stay connected within TC (and tasks started from there) until TC is closed.
Tested in XP.
Either after starting TC:
- simply make a button etc. in TC calling the needed commands (net.exe/subst.exe)
or before/while starting TC:
- start TC using a Shortcut like "TC_Administrator.lnk":
Code: Select all
%windir%\system32\runas.exe /USER:Administrator "C:\Batch\TC_connect_and_start.cmd"
Code: Select all
subst.exe F: E:\subst-host-dir
net.exe use \\1.2.3.4\share * /user:username
start C:\TotalCmd\TOTALCMD.exe
exit
Tested in XP.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!