Wrong directory selected on drive change

English support forum

Moderators: Hacker, petermad, Stefan2, white

Thany
Senior Member
Senior Member
Posts: 293
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Wrong directory selected on drive change

Post by *Thany »

When I change the drive on the left panel to the same drive as on the right panel, it should go to the same directory. But, when I accidentally select a drive that's not ready (a cd-rom for example) and then select the correct drive in the "drive not found!" window, the left panel goes back to the drive's root.

Example:
1. On the right, go to d:\test\
2. On the left, go to your floppy drive. Make sure there's NO floppy inserted
3. In the window that pops up, correct your mistake by going to drive D.
4. On the left, go to drive D once more.

In this example, you'll see at step 3, TC gets you to d:\, while at step 4, you'll be at d:\test\.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I cannot reproduce this on XP Pro.
I switched to Linux, bye and thanks for all the fish!
oldschool
Junior Member
Junior Member
Posts: 29
Joined: 2004-08-11, 05:39 UTC
Location: Switzerland

Post by *oldschool »

strange, I tried it on my WinXp 5.1.2600 SP+, and it does exactly the same thing: it jumps to the root
oldschool
Junior Member
Junior Member
Posts: 29
Joined: 2004-08-11, 05:39 UTC
Location: Switzerland

Post by *oldschool »

and here's the complete info: XP Pro Version 2002 5.1.2600 SP1
Thany
Senior Member
Senior Member
Posts: 293
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Post by *Thany »

I use XP Pro too, but i doubt it has anything to do with the operating system. I just a matter of going to the right directory, or the root. The OS has no saying in this :)
oldschool
Junior Member
Junior Member
Posts: 29
Joined: 2004-08-11, 05:39 UTC
Location: Switzerland

Post by *oldschool »

sure - I'm using 6.03a, so I suppose SanskritFritz must be using a prior version of TC since he's on XP too
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

No, I'm using 6.03a.
Both in step 3 and 4 I land at the root dir.
I switched to Linux, bye and thanks for all the fish!
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

I am also landing in root dir...TC 6.03a & Win2k sp4 ...
TC#88260 -
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

2SanskritFritz
2franck8244
wincmd.ini:
AlwaysToRoot=0?
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2nevidimka
Not set in my ini. What is the default? The help does not state defult value.
I switched to Linux, bye and thanks for all the fish!
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

2SanskritFritz
Not set in my ini.
Then default value
AlwaysToRoot=0
is set. :? Dunno why your behaviour is different.
The help does not state defult value.
Nope. The default value is documented in help. The exemplary values in the help are the default values. :P
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Occurs under 98SE

Post by *Clo »

:) Hi All !
- This occurs under Win 98SE too with TC 6.03a. I get the root of the drive from the combobox, although I've in <wincmd.ini> :

Code: Select all

AlwaysToRoot=0
>>nevidimka
- You are right, the default status is indicated alright in the Help /Tutorial as :
«If set to 1, Total Commander will always switch to the root directory when changing drives (like the Win95/98 Explorer).»
- Apart : I tested in first with an empty floppy on the network (V:\), but I didn't get the error message / combobox, only an empty panel for V:\ !
:?:
EDIT :
- I tested under XP-Pro - TC 6.03a, it's the same : I get the drive-root.
-The same with an old Commander 5.11…
- Hence, one can say that the combobox-command to change the drive on the error message doesn't follow the normal behaviour of the drive-buttons when one has AlwaysToRoot=0. I guess it should…
:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The following happens:
1. Totalcmd tries to go to d:\some\subdir
2. It fails. Now TC tries d:\some
3. It also fails. Now TC tries d:\
4. It fails too. TC asks user. User chooses d:\, so TC stays in d:\

The reason why TC doesn't retry to go to d:\some\subdir is that the disk was probably changed, e.g. a different CD, so even if the dir would exist, it wouldn't be the same, so it wouldn't be good to go there.
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Same with HD

Post by *Clo »

2ghisler(Author)
:) Good evening !
…The reason why TC doesn't retry to go to d:\some\subdir is that the disk was probably changed…
¤ I tested with hard-disk drives, not with a CD drive, and got that you can read above…

:mrgreen:  Best regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: Same with HD

Post by *Sheepdog »

Clo wrote:¤ I tested with hard-disk drives, not with a CD drive, and got that you can read above…
Hi Claude,

I wonder how you get a 'drive is not ready' message on a hard disk drive? That is what Thany described. (That for you should use a floppy drive with no floppy in it)

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply