Wrong directory selected on drive change
Moderators: Hacker, petermad, Stefan2, white
Wrong directory selected on drive change
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\.
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\.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Occurs under 98SE

- 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
- 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…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com
Same with HD
2ghisler(Author)
Good evening !
Best regards,
Claude
Clo

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

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Same with HD
Hi Claude,Clo wrote:¤ I tested with hard-disk drives, not with a CD drive, and got that you can read above…
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
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams