Changing the virtual path to the last absolute path if there is no GUID
Moderators: Hacker, petermad, Stefan2, white
Changing the virtual path to the last absolute path if there is no GUID
1. cd C:\Windows
2. cd ::
3. cm_OpenNetwork
4. cd ::{450D8FBA-AD25-11D0-98A8-0800361B1103}
5. cd ::{D20EA4E1-3957-11d2-A40B-0C5020524153}
6. cd ::{} or cd ::{BLABLA} >>> 1.
It's expected that there will be no path change in case of an error.
2. cd ::
3. cm_OpenNetwork
4. cd ::{450D8FBA-AD25-11D0-98A8-0800361B1103}
5. cd ::{D20EA4E1-3957-11d2-A40B-0C5020524153}
6. cd ::{} or cd ::{BLABLA} >>> 1.
It's expected that there will be no path change in case of an error.
Overquoting is evil! 👎
Re: Changing the virtual path to the last absolute path if there is no GUID
Agreed, but then there should be an error displayed: "directory not found!" - currently the loading of the last physical directory, gives an indication that there has been a fault.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Changing the virtual path to the last absolute path if there is no GUID
If I execute cd C:\path\nopath, then it will open C:\path, there will be no indication of an error.
If I specify a non-existent drive (cd W:\blabla), then also no windows will appear.
If I specify a non-existent drive (cd W:\blabla), then also no windows will appear.
Overquoting is evil! 👎
Re: Changing the virtual path to the last absolute path if there is no GUID
That's easy: Then don't do either of those things.Fla$her wrote: 2024-02-03, 01:04 UTC If I execute cd C:\path\nopath, then it will open C:\path, there will be no indication of an error.
If I specify a non-existent drive (cd W:\blabla), then also no windows will appear.
Really: Who does something like that?
And if he does, he will immediately notice his own mistake...
TC is a GUI file manager...
Re: Changing the virtual path to the last absolute path if there is no GUID
2JOUBE
This is a section about bugs, not about who and what can/wants to do or not do here.
This is a section about bugs, not about who and what can/wants to do or not do here.
So you approve of my counterargument? >>>
>>>
Overquoting is evil! 👎
Re: Changing the virtual path to the last absolute path if there is no GUID
2Fla$her
With IgnoreDirErrors=1 I get a dialog box:
--------------------------------------
ERROR!
--------------------------------------
Drive not found W:
Please chose another: [ ]
[OK] [Cancel]
--------------------------------------
And if I perform cd: W: - and W: does not exist. I get a the same dialog box if I am in the root of a drive. If I am in a subdirectory
I get a message in the file panel saying: <Read error!>
That depends on the setting of IgnoreDirErrors.If I specify a non-existent drive (cd W:\blabla), then also no windows will appear.
With IgnoreDirErrors=1 I get a dialog box:
--------------------------------------
ERROR!
--------------------------------------
Drive not found W:
Please chose another: [ ]
[OK] [Cancel]
--------------------------------------
And if I perform cd: W: - and W: does not exist. I get a the same dialog box if I am in the root of a drive. If I am in a subdirectory
I get a message in the file panel saying: <Read error!>
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Changing the virtual path to the last absolute path if there is no GUID
2petermad
Good. So, in this case, your wish should be related to the non-default value of 1 of the given key.
I think this would have been provided for without our meddling.
Good. So, in this case, your wish should be related to the non-default value of 1 of the given key.
I think this would have been provided for without our meddling.

Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Changing the virtual path to the last absolute path if there is no GUID
cd ::INVALID
returns to the last local directory. Currently there are no plans to change this behavior.
returns to the last local directory. Currently there are no plans to change this behavior.
Moderator message
Moved to suggestions
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Changing the virtual path to the last absolute path if there is no GUID
2ghisler(Author)
What is the reason for the choice of such unexpected behavior by users?
Why leave such a mismatch with cd <INVALID DRIVE>:\... ?
What is the reason for the choice of such unexpected behavior by users?
Why leave such a mismatch with cd <INVALID DRIVE>:\... ?
Last edited by Fla$her on 2024-02-16, 02:05 UTC, edited 1 time in total.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Changing the virtual path to the last absolute path if there is no GUID
Total Commander always needs to show a valid directory. When a cd command fails, TC returns to the last local directory it knows. Since virtual folders can be anything, including network folders, it's not guaranteed that you can return to it when trying to go to a different virtual folder fails.
The option IgnoreDirErrors=1 only supports directories with a path (drive letter or UNC), not virtual folders. Making it work with virtual folders isn't easy, it would take weeks to make it work properly.
The option IgnoreDirErrors=1 only supports directories with a path (drive letter or UNC), not virtual folders. Making it work with virtual folders isn't easy, it would take weeks to make it work properly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Changing the virtual path to the last absolute path if there is no GUID
Look at what I wrote:
PS: I think the bugs section is more appropriate for inconsistencies.
This is the current behavior after cd <INVALID DRIVE>:\. I didn't suggest trying to go back to the virtual folder. I'm asking you to remove the discrepancy by eliminating the need to search and navigate to a local folder.Fla$her wrote: 2024-02-02, 23:44 UTC It's expected that there will be no path change in case of an error.
PS: I think the bugs section is more appropriate for inconsistencies.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Changing the virtual path to the last absolute path if there is no GUID
No path change is currently only supported in a regular directory, not in a virtual folder, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Changing the virtual path to the last absolute path if there is no GUID
Don't you think it's strange what you wrote? Logically, regular folders should be a priority for users and the file manager.
But that's not the point. From the point of view of usability, why go to the previous local folder in case of an error, if it's much better to leave the current one, whatever it is?
But that's not the point. From the point of view of usability, why go to the previous local folder in case of an error, if it's much better to leave the current one, whatever it is?
Overquoting is evil! 👎
Re: Changing the virtual path to the last absolute path if there is no GUID
Fully agree.Fla$her wrote: 2024-02-05, 10:40 UTC From the point of view of usability, why go to the previous local folder in case of an error, if it's much better to leave the current one, whatever it is?
TC should stay where it was before trying the failed path.
There should be an error message in this case to warn the user.
Last edited by Horst.Epp on 2024-02-05, 13:59 UTC, edited 1 time in total.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Changing the virtual path to the last absolute path if there is no GUID
I agree - but if no folder change is taking place - I still think a message about not being able to go to the dir would be a good idea - otherwise you might end up trying to change the directory several times before you realize it is prevented by TC.if it's much better to leave the current one, whatever it is?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar