Custom command sequence
Hello, I have a quick question about the custom command feature
OK I have a group of files that I would like to rename to <filename>.bak. Here is the custom command I made:
RNFR %f
RNTO %f.bak
Now this command works great when doing one file at a time but when I select multiple files, flashfxp executes the commands out of order. It tries to execute the first command on all the files then tries to execute the second command on all the files. This becomes a problem when using the RNFR/RNTO commands because RNTO must directly procede RNFR. Here what happens when using my custom command on multiple files.
RNFR temp1.txt
350 File or directory exists, ready for destination name
RNFR temp2.txt
350 File or directory exists, ready for destination name
RNFR temp3.txt
350 File or directory exists, ready for destination name
RNFR temp4.txt
350 File or directory exists, ready for destination name
RNFR temp5.txt
350 File or directory exists, ready for destination name
RNFR temp6.txt
350 File or directory exists, ready for destination name
RNTO temp1.txt.bak
250 RNTO command successful.
RNTO temp2.txt.bak
503 Bad sequence of commands.
RNTO temp3.txt.bak
503 Bad sequence of commands.
RNTO temp4.txt.bak
503 Bad sequence of commands.
RNTO temp5.txt.bak
503 Bad sequence of commands.
RNTO temp6.txt.bak
503 Bad sequence of commands.
Is there anyway to work around this or am I stuck with having to do this one at a time, which can be very tedious at times?
Any comments are appreciated.
Thanks
|