5.24.9 RENAME
The RENAME command is used to rename a file or folder on the Windows file server.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
RENAME
|
SERVER
|
value
|
Optional: File server.
|
DOMAIN
|
value
|
Optional. Windows domain.
|
USER
|
value
|
Optional. User.
|
PASSWORD
|
value
|
Optional. Password.
|
FROM
|
value
|
Required. Windows server file or folder.
|
TO
|
value
|
Required. Windows server file or folder.
|
|
Example
RENAME FROM(/Shared/folder/file.txt) TO(/Shared/folder/file2.txt)