I have a context menu item that stores files into folders named after file name. It uses regex to do so and creates a subfolder within same folder where the file resides (parent folder). It works fine.
Another context menu item asks for the folder name, whilst showing the file name and will create a folder there where I drag and drop the file to.
Copy MOVE CREATEFOLDER "{dlgstringS|Name of Folder to move to...|{file$|noext}}"
In this case I manually need to remove parts from the filename, whereas the regex ignores those parts.
Hence, the regex 'solution' can be used on multiple files simultaneously.
So, the regex will create a sub folder within the parent folder (because \1\\0), whereas the 2nd method will create a folder where the file is dragged to, i.e. different drive or folder, but need some manual adjustments.
Q: Is there a way to accomplish the 2nd method whilst using using regex?
i.e. allow storing into another folder.