Wrong directory selected on drive change

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

What is D: ?

Post by *Clo »

2Sheepdog
:) Hi Stefan !
Thany wrote:
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.
ghisler(Author) wrote :
…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.
¤ Indeed, I tested with an empty floppy !
* I guess that Ch. Ghisler has misunderstood that Thany said, about his D: drive; following his reply, it seems he thought that D: is a CD drive…
* I performed the same test than Thany, and specified that my D: drive is not a CD, but a HD.
* Following this, the Ch. Ghisler's answer is not satisfactory.

:mrgreen:  V G
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: What is D: ?

Post by *Sheepdog »

Clo wrote:* I guess that Ch. Ghisler has misunderstood that Thany said, about his D: drive; following his reply, it seems that he thought that D: is a CD drive…
You are right. @ghisler misunderstood something.

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
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Re: Occurs under 98SE

Post by *nevidimka »

Clo wrote:>>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).»
:? whaddyathink? ;) Did you read the TC help thoroughly? Did you thought twice about that what you wrote? :P :D
TC help wrote:AlwaysToRoot=0 If set to 1, Total Commander will always switch to the root directory when changing drives (like the Win95/98 Explorer).
In this case zero is default setting and is indicated by the zero in "AlwaysToRoot=0". This indication is true for the most of the descriptions. :D :P
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Read above

Post by *Clo »

2nevidimka
Hi !
-You are looking for hairs on eggs ! I didn't repeat the first part which is the entry in <wincmd.ini>. You might see above, before to mock me…
- That you quote is only the continuation / explanation for that entry.
- I make the Tutorials, I know what they contain, and I've some neurons remaining. :P

:mrgreen: Regards
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13085
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
The following happens:
[...]
3. It also fails. Now TC tries d:\
4. It fails too. TC asks user. User chooses d:\, so TC stays in d:\
No, user chooses c:\ and TC should go to c:\where\I\was\before\ but it goes to c:\ instead.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Hacker wrote:Christian,
The following happens:
[...]
3. It also fails. Now TC tries d:\
4. It fails too. TC asks user. User chooses d:\, so TC stays in d:\
No, user chooses c:\ and TC should go to c:\where\I\was\before\ but it goes to c:\ instead.
TC does not look up, if he has already changed the path on the selected drive. Otherwise he seems to use a lookup table.

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
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

From Historical---

Post by *Clo »

2Sheepdog
Hi Stefan !
TC does not look up, ( :shock: :P ) if he has already changed the path on the selected drive. Otherwise he seems to use a lookup table.
* TC could use easily the last previous path for that drive from the Historical dirs list; it's stored somewhere (in a cache, I guess), instead to set the root every time.
* What do you think ?

:mrgreen: V G
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Nice in brief

Post by *Clo »

2Hacker
:) Hi Roman !
No, user chooses c:\ and TC should go to c:\where\I\was\before\ but it goes to c:\ instead.
- Nicely said in brief ! ;)
- This is the problem exactly.

:mrgreen:  KR
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: From Historical---

Post by *Sheepdog »

Clo wrote: * TC could use easily the last previous path for that drive from the Historical dirs list; it's stored somewhere (in a cache, I guess), instead to set the root every time.
* What do you think ?
I guess TC fails to use a subroutine to look for the current path by accident. Probably two lines code to correct it.

If one knows where and how to put it in ;) of course.


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