Rename_File/To
Reference: Add Rename_File to Script
Script Editor Program
Alphabetical Command List
Rename_File/To is very similar to the From/To command. The only restriction is that the source and target files must occur on the same physical disk drive. This implies that they must occur at the same remote server, if any. Server names may be included for both the source and target, and a third party server can be instructed to perform the rename on a locally attached FTP server. However, the target is assumed to be on the same drive, and the resulting rename command will operate from that assumption. For this reason, you need not include a server name for the target file.
The Rename_File and To keywords must occur together, and must completely define the source and destination paths and files involved in the rename. A Server_List may be used as part of the source file name.
Server lists are expanded at compile time. Wild cards are expanded at execution time.