How to Open newly created folder?

Hi
I have a Jscript with this command. but there is no argument's like READAUTO=right for CREATEFOLDER command. then How can open that folder on my right file display with focus.

cmd.RunCommand('Copy MOVE HERE CREATEFOLDER="' + newName + '"');

You don't have to do everything in a single line/command.

You can use the Go command to navigate to folders.

1 Like
cmd.RunCommand('Copy MOVE HERE CREATEFOLDER="' + newName + '"');
cmd.RunCommand('Go "' + newName + '"');

is thats the right way?

You probably want to give it the full path (unless newName is already the full path) plus the argument that makes it open in the other file display (if that’s what you wanted).