Changing path to a nonexistent directory

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Changing path to a nonexistent directory

Post by *umbra »

When you use a path bar to change a current directory, TC checks, if the typed directory exists.
If you type a path to a nonexistent directory that ends with '\' and you press Enter, you will hear a 'ding' sound ('dong' in TCx64) and the path will stay editable. However, if the typed path does not end with '\', the edit box will simply close.
Is there a reason for this difference? Because right now, I'd prefer a consistency in the path bar's behavior.

This applies to all TC versions including the current TC 8.01 rc4.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes - when you do not append a slash, and TC doesn't find the path, it goes to the part which does end with a slash, and tries to put the cursor on a file with the given name. Example:
c:\test\test

-> TC first tries to go to c:\test\test\, and if that fails, go to
c:\test\ and place cursor on file 'test'.

If c:\test doesn't exist either, TC will keep the rename box open.
Author of Total Commander
https://www.ghisler.com
Post Reply