Rename File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is a File Command. This command renames a file. The command can be found under the system commands within the tool box. The == Example == <pr...")

Revision as of 17:04, 4 January 2013

This command is a File Command. This command renames a file. The command can be found under the system commands within the tool box. The


Example

rename file("C:\\Users\\LillyT\\Desktop\\test.txt", "MyFile.txt")

Running the script requires browsing and finding a file you would like to rename. Keep the file extension in mind when renaming the file.

Notice that we selected a .txt file to rename, and the new file name ends with .txt.

Running the script will rename the file from test.txt to MyFile.txt.

File:Rename.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox