Here's one of several methods I've tried:
Code: Select all
focus "P1";
$newnames = listfolder(, , 1+4); //A.txt|B.txt|E.txt
focus "P2";
$oldnames = listfolder(, , 1+4); //A.txt|C.txt|D.txt
rename b, $newnames, p, $oldnames;EDIT: I think now that "rename batch" is not supposed to work as I had hoped above(!).... So that leaves me wondering how best to do this job. I tried the various Synch commands and options earlier without success. The only thing I can think of is parsing and stepping through $newnames and $oldnames in synch, and using renameitem on one file at a time.
Thanks for any guidance
XYplorer Beta Club