Go Back   FlashFXP Forums > > > >

General Discuss anything and everything related to FlashFXP

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-24-2002, 10:31 AM   #1
Teflon
Junior Member
 
Join Date: Jan 2002
Posts: 3
Default 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
Teflon is offline  
 

Tags
command, commands, file, rnfr, rnto


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
banned hache General Discussion 1 04-05-2005 07:02 AM


All times are GMT -5. The time now is 10:29 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)