slashes-aware creation of folders and files

Features wanted...
Post Reply
tiago
Posts: 589
Joined: 14 Feb 2011 21:41

slashes-aware creation of folders and files

Post by tiago »

slashes and backslashes could have a role in the creation of folders instead of just producing standard errors. Naming a folder "name1\name2" could result in a "folder\subfolder", if the user sees that as not expected, it's easy for him to delete the folder. Naming a file "name1\name2.ext" could create a "subfolder\zero-byte file" and so on. Perhaps a tweak for this so more experienced users will know what's going on.
Power-hungry user!!!

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

Re: slashes-aware creation of folders and files

Post by admin »

There is a tweak for this:

Code: Select all

v6.80.0098 - 2008-03-05 12:52
    + List: Now there's "Move On Rename", a cute little time saver that 
      enables you to move & rename files in one go. Simply enter a 
      relative (to the current path of the file!) or absolute path into 
      the inline rename box (F2) and "Move On Rename" will happen. If 
      the new folder (or multi-folder path!) does not exist yet, you 
      will be prompted to create it on the fly. Note that "Move On 
      Rename" does work only for one item at a time.
      For example, select a file in the 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.
      For logistic reasons this is currently only implemented as an INI 
      tweak. You have to manually enable it by editing the INI file:
        [Settings]
        AllowMoveOnRename=1
It might be time to elevate it to the UI! Has anybody used this feature at all?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: slashes-aware creation of folders and files

Post by serendipity »

admin wrote:There is a tweak for this:

Code: Select all

v6.80.0098 - 2008-03-05 12:52
    + List: Now there's "Move On Rename", a cute little time saver that 
      enables you to move & rename files in one go. Simply enter a 
      relative (to the current path of the file!) or absolute path into 
      the inline rename box (F2) and "Move On Rename" will happen. If 
      the new folder (or multi-folder path!) does not exist yet, you 
      will be prompted to create it on the fly. Note that "Move On 
      Rename" does work only for one item at a time.
      For example, select a file in the 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.
      For logistic reasons this is currently only implemented as an INI 
      tweak. You have to manually enable it by editing the INI file:
        [Settings]
        AllowMoveOnRename=1
It might be time to elevate it to the UI! Has anybody used this feature at all?
Yes, i use it occasionally. Such little gems should be made more public. And ofcourse, it should be disabled on fresh install.


Post Reply