Move File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
move file("C:\\Users\\LillyT\\Desktop\\MyFile.txt", "C:\\Users\\LillyT\\Documents")
+
move file("C:\\Users\\Desktop\\MyFile.txt", "C:\\Users\\Documents")
  
 
</pre>
 
</pre>

Revision as of 15:38, 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.

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.


File:Movefile.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox