RENAME        Rename a local file

Top  Previous  Next

Syntax:

RENAME

[ file name1 ]  [ file name2 ]

Arguments:

[ file name1 ]

Variable or string defining a file or path name; if no path is defined Robo-FTPs working folder is used.

 

[ file name2 ]

Variable or string defining a file name.

Options:

None

 

 

 

This script command renames a local file from [ file name1] to [ file name 2]. This is an example of the RENAME command:

 

RENAME "oldname" "newname"

 

To rename a file on the FTP site, use the FTPRENAME script command.

 

 

Related Command(s): FTPRENAME, MAKEFILENAME, WORKINGDIR, DOSCMD, COPY, MOVE, APPEND, DELETE, DOSCMD