1
Script / Re: Strange behavior with MoveFile
« on: June 21, 2022, 19:24:18 »
Thank you.
2021-03-01
MultiCommander v11 is released!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
@var $files = GetSelectedPaths();
@var $count = arrayCount($files);
@var $n;
for($n = 0; $n < $count; $n++)
{
@var $file = $files[$n];
if (FileExists($file) == 1 )
{
@var $path = PathGetPathPart($file)
@var $name = PathGetNamePart($file) + "|";
@var $ext = PathGetFileExtPart($file);
@var $folder = $path ^ StrReplace( $name, $ext + "|" , "");
MoveFile($folder + "\", $file, "NODIALOG,NOPROGRESS,USEEXISTINGQUEUE" )
}
MoveFile($folder + "\", $file, "NODIALOG,NOPROGRESS,USEEXISTINGQUEUE" )
What happens, that there is an open dialog, which never close (see screenshot).