I'm trying to add a menu option under "All Files" file types to do this when I select a few files, right click and drag to another folder -
Create a new folder and ask me for a name
MOVE the files into the new folder I created
So for example if I had some pictures in C:\Download that I wanted to keep, I could select them and right-click drag them to a second Lister which has C:\Pictures open, and I could click a custom option "Move To New Folder" and it would ask me to choose a name for a folder, and I could type in "Some New Pics" and it would create C:\Pictures\Some New Pics\ and it would move the files into that folder.
I managed to get it to create a new folder, but it creates it in the wrong Lister
Try Copy MOVE CREATEFOLDER I think that may do it on its own, prompting you for the subdirectory to create. (Haven't tried it with a drag & drop, though.)
The CREATEFOLDER argument was added recently and doesn't seem to be in the main manual (I've mailed Greg to let him know it's missing) but it's described in the 8.2 changes document:
Both of these work from[ul][li] Settings Menu[ul][li] File Types [ul][li] All Files And Folders [ul][li] File Type[ul][li] Drop Menu[/li][/ul][/li][/ul][/li][/ul][/li][/ul][/li][/ul]Copy Here to New Subfolder
Copy CREATEFOLDER "{dlgstring|Enter a subfolder name to copy files into:}"
Move Here to New Subfolder
Copy MOVE CREATEFOLDER "{dlgstring|Enter a subfolder name to move files into:}"
To use, right-drag your files and you will be prompted.
I think it should work without the {dlgstring...} as well, at least the manual says it'll prompt you automatically if no folder name is specified in the command.
Not sure if the prompt is better or the same as a {dlgstring...} prompt but seems worth checking out.
It works, but there's one problem - Dopus doesn't show "Copy MOVE" commands in the menu when I right-drag into the same folder (to create a subfolder). "Copy" works, its visible in the drag-menu, I'm assuming because Dopus is made to hide "Move" commands when it's being dragged into the same folder.
Is there any way to make it create a subfolder in current folder/lister and Move into it? It doesn't necessarily have to be a right-click drag thing, it can be a button or a hotkey.
Or if Dopus doesn't like using the Move command in the same folder, is there a way to COPY them (which works fine) and then delete the original files immediately after?
I used {dlgstring} because I have other drop actions in the same menu that do similar tasks, some of these require {dlgstring}. It also allows me to customize the dialog for each command which provides a verification of sorts--I have each message specific to the command being executed.
This version will work to the same folder (listed in the same lister) as well as to any folder listed in another lister. I may take longer, as it is actually performing a copy and then a silent delete, rather than just a move.
Move Here to New Subfolder
@NoDeselect
Copy CREATEFOLDER "{dlgstring|Enter a folder name to copy the files to:}"
Delete NORECYCLE QUIET FORCE