Move File
From UBot Studio
(Difference between revisions)
(Created page with "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 Lo...") |
|||
(4 intermediate revisions by one user not shown) | |||
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. | + | '''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. | + | |
+ | '''New Location:''' refers to the new location you would like the file moved to. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | move file("C:\\Users | + | move file("C:\\Users\\Desktop\\MyFile.txt", "C:\\Users\\Documents") |
</pre> | </pre> | ||
+ | |||
The above script requires browsing for a file for on your desktop to test the command. | The above script requires browsing for a file for on your desktop to test the command. | ||
Line 14: | Line 16: | ||
Running the script moves the specified file to it's new location, which is, in this case, the document folder. | Running the script moves the specified file to it's new location, which is, in this case, the document folder. | ||
− | [[File:movefile. | + | |
+ | [[File:movefile.jpg]] |
Latest revision as of 15:39, 19 September 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.
[edit] Example
move file("C:\\Users\\Desktop\\MyFile.txt", "C:\\Users\\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.