[SOLVED, NO BUG] Creating a dir with subdirs "a\b\" in List view will create "a\b\New Folder"

Things you’d like to miss in the future...
Post Reply
matewo
Posts: 68
Joined: 03 Jun 2018 21:35

[SOLVED, NO BUG] Creating a dir with subdirs "a\b\" in List view will create "a\b\New Folder"

Post by matewo »

Hi all,

when I create a new dir + subdir in list view (Ctrl+N), a\b:

a\b will be created. This is, what I would expect.

When I create a new dir + subdir in list view (Ctrl+N), a\b\ with a trailing backslash:

a\b\New Folder will be created. This is not, what I would expect. Is it intended nevertheless?

Thanks and best regards, Markus

-- XYplorer: v24.30.0100
Last edited by matewo on 15 May 2023 08:06, edited 1 time in total.

admin
Site Admin
Posts: 60528
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Creating a dir with subdirs "a\b\" in List view will create "a\b\New Folder"

Post by admin »

It's a feature and it works as advertised.

What's happening here is not creating a folder but "move on rename" (Configuration | General | Sort and Rename | Rename | Allow move on rename) and when the target ends with a slash then the current folder name (which is "New Folder" after Ctrl+N) is used.

Code: Select all

v10.50.0023 - 2011-11-12 14:25
    + Configuration | General: Added "Allow move on rename", a cute 
      little time saver that enables you to move-and-rename files or 
      folders in one go right from the file list. Simply enter a 
      relative (to the current path of the file!) or absolute 
      path\[name] into the inline rename box (F2) in the file list, and 
      Move On Rename will happen. If the target folder doesn't exist yet 
      it is created on the fly.

      Examples:
      Select a file in the file list and enter this into the rename box:
      - C:\new.png        = Move file to C:\ renaming it to new.png.
      - C:\1\2\3\new.png  = Move file to C:\1\2\3 renaming it to 
        new.png. If "C:\1\2\3\" does not exist it is created.
      - ..\new.png        = Move file one up renaming it to new.png.
      - stuff\new.png     = Move file one down to subfolder "stuff" 
        renaming it to new.png. If "stuff" does not exist it is created.
      You can also move a file or folder without renaming it. Simply 
      select the rename box, and enter a path with a trailing slash:
      - C:\stuff\         = Move file to C:\stuff\.
      - stuff\            = Move file one down to subfolder "stuff".
      - ..\               = Move file one up.

Post Reply