Code: Select all
moveto($moviefolder."\Extras\", $file, , 2, 2, -1, 1, 0, 0, 0, 1, 1); //move file to destination
renameitem($destname, $moviefolder."\Extras\".$filename, 4); //rename to final filename, prompt if file existsCode: Select all
moveto($moviefolder."\Extras\", $file, , 2, 2, -1, 1, 0, 0, 0, 1, 1); //move file to destination
renameitem($destname, $moviefolder."\Extras\".$filename, 4); //rename to final filename, prompt if file existsBackgroundFileOps via setting before executing that part of the scriptCode: Select all
setting("BackgroundFileOps", 0);setting "BackgroundFileOps", 0;rename l, $moviefolder."\Extras\".$destname, , $file;Code: Select all
setting "BackgroundFileOps", 0;rename isn't a function as well...renameitem() doesn't support full paths for the newname argument, that's the reasonCode: Select all
MKDIR "<destination folder 1>"
MOVE /Y "<src file with full path 1>" "<dst file with full path 1>"
MKDIR "<destination folder 2>"
MOVE /Y "<src file with full path 2>" "<dst file with full path 2>"
...
Code: Select all
setting "BackgroundFileOps", 0;Code: Select all
copier("");