Problems with removable and network drives

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
serjayes
Junior Member
Junior Member
Posts: 56
Joined: 2004-01-19, 16:53 UTC

Problems with removable and network drives

Post by *serjayes »

1) Once I insert the removable drive and set one pane to some folder there, TC seems to somehow bind it to the folder making it impossible to "Remove" the drive.

2) TC should not try to do anything with the tabs that are not currently displayed (especially not try to access them in any way). Ít seems that presently as soon as I open the TC it will check all the locations in the tabs, making unnecessary delays if some tabs are on the network, on removable drives or are not accessible.
(user licence #64081)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50505
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1. TC uses SetCurrentDirectory to set the current dir to the active panel. This is necessary for launching programs, some context menus, or the command line. You need to switch to a different drive to unmount it.

2. No it doesn't! For example, try inserting a CD, open a tab to that CD, then switch to a different tab and close TC. Now remove the CD and restart TC. It will NOT try to access the CD. Only the active tabs will be read.
Author of Total Commander
https://www.ghisler.com
serjayes
Junior Member
Junior Member
Posts: 56
Joined: 2004-01-19, 16:53 UTC

Post by *serjayes »

> 1. TC uses SetCurrentDirectory to set the current dir to the active panel. This is necessary for launching programs, some context menus, or the command line. You need to switch to a different drive to unmount it.

I use the command line a lot. So much that I'd love to have stdout and stderr somehow collected and displayed by Total Commander. But I still think it would be much more convenient when the "set current directory" would be performed exactly before the command line is executed, and after execution returned to some directory that always exists (system temp?) The same for the launching of the programs. At least for removable and network drives. Finally, context menus appear correctly in Windows Explorer which doesn't show similar problems.

I use only Total Commander, but when I have to copy from/to USB sticks, it becomes easier to use Explorer (one additonal step in the fixed sequence slow down). :(

> 2. No it doesn't! For example, try inserting a CD, open a tab to that CD, then switch to a different tab and close TC. Now remove the CD and restart TC. It will NOT try to access the CD. Only the active tabs will be read.

I never saw this with CDs, however I experience delays with the network drives (to which I connected with "cd \\something\drive) and which appear in the "background" tabs?
(user licence #64081)
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2serjayes
Something else must cause your problems, AFAIK, most of us here dont have similar.

I can remove my USB stick after i switch to another tab.
TC does not try to access network drives in inactive tabs. I even have locked tabs with network drives (UNC), and when I'm starting my laptop offline at home, TC starts just in a snap (provided I didnt forget to switch to another tab previously at close ;-) )
I switched to Linux, bye and thanks for all the fish!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Finally, context menus appear correctly in Windows Explorer which doesn't show similar problems.
What do you mean by that? Your TC doesnt show them correctly?
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

SanskritFritz wrote:
Finally, context menus appear correctly in Windows Explorer which doesn't show similar problems.
What do you mean by that? Your TC doesnt show them correctly?
No:
ghisler(Author) wrote:1. TC uses SetCurrentDirectory to set the current dir to the active panel. This is necessary for launching programs, some context menus, or the command line. You need to switch to a different drive to unmount it.
I think he means that. And that explorer doesn't use this 'SetCurrentDirectory'

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2Sheepdog
You are right, i didnt read carefully enough. :oops:
I switched to Linux, bye and thanks for all the fish!
Post Reply