Page 1 of 1

F7: create single directoy fails if name followed by backslash and elevation is required

Posted: 2020-08-20, 10:07 UTC
by DrShark
ghisler(Author) wrote: 2020-08-17, 16:26 UTCSorry, in admin only directories you cannot create multiple directories together this way.
(by "multiple directories together", multi-level is meant)
To reproduce:
In folder like %ProgramFiles% where elevation is required for writing, try to create 1 folder "dir" with typed backslash after its name:
dir\
in F7, it will fail with error:

Code: Select all

---------------------------
Total Commander
---------------------------
Error: Directory [dir\]
not created!
---------------------------
OK
---------------------------

Re: F7: create single directoy fails if name followed by backslash and elevation is required

Posted: 2020-08-20, 11:29 UTC
by ghisler(Author)
This fails because the backslash triggers the multiple subdirs function, which doesn't work in root only folders.

Re: F7: create single directoy fails if name followed by backslash and elevation is required

Posted: 2021-03-24, 13:21 UTC
by DrShark
ghisler(Author) wrote: 2020-08-20, 11:29 UTCThis fails because the backslash triggers the multiple subdirs function, which doesn't work in root only folders.
Could the trigger be changed so at least 2 backslashes would be required in New folder dialog to activate multiple subdirs creation function?