Select files & group into new folder

Hello, is there a way or script in DO 8 to select some files and right-click group/move into new folder (which will open dialogue box to name folder)?
This can be done when compressing files, but I would find it extremely useful if it could happen with normal folders.
thanks

In Opus 9 I just tested that these work:

To move into a sub-folder off the current folder, just asking you to type a name:

Copy MOVE HERE CREATEFOLDER="{dlgstring|Enter Folder Name}"

To move into any folder anywhere:

Copy MOVE TO=ask$

I don't have Opus 8 installed to test against and I can't remember when the CREATEFOLDER and TO=ask$ arguments were added.

If they do exist in Opus 8 I think you'll still need to change the first example. In Opus 8 if you want to use codes like {dlgstring} with internal commands then you have to use the old dopusrt.exe trick to run the command. Something like this:

"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /Cmd Copy MOVE HERE CREATEFOLDER="{dlgstring|Enter Folder Name}"

(You don't need the dopusrt.exe stuff with Opus 9.)

Thanks!
I got it working with your last code line, I put into a button.

The only thing is that because DO does not refresh immediately after,
nothing appears to have happened.

How can I add a refresh command at the end of this script?
thanks in advance

Try using Go REFRESH or Go CURRENT. (You might need to use dopusrt.exe on them as well, so they're run after the other line hat also uses dopusrt.exe.)

Thanks> I tried before not couldn't get it right. Like this it works :

"C:\Program Files\Utilities\DirOpus\dopusrt.exe" /Cmd Copy MOVE HERE CREATEFOLDER="{dlgstring|Enter Folder Name}" "C:\Program Files\Utilities\DirOpus\dopusrt.exe" /Cmd Go REFRESH