Move File
From UBot Studio
(Difference between revisions)
Line 1: | Line 1: | ||
This command is a [[File Commands|File Command]]. The command moves a file to a new location. | This command is a [[File Commands|File Command]]. The command moves a file to a new location. | ||
− | + | '''File to Move:''' refers to the file you would like to move to a new location. | |
− | + | '''New Location:''' refers to the new location you would like the file moved to. | |
== Example == | == Example == |
Revision as of 18:40, 24 April 2013
This command is a File Command. The command moves a file to a new location.
File to Move: refers to the file you would like to move to a new location.
New Location: refers to the new location you would like the file moved to.
Example
move file("C:\\Users\\LillyT\\Desktop\\MyFile.txt", "C:\\Users\\LillyT\\Documents")
The above script requires browsing for a file for on your desktop to test the command.
Running the script moves the specified file to it's new location, which is, in this case, the document folder.