Move File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
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>
 +
  
 
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 15: 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.png]]
+
 
 +
[[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.


Movefile.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox