Copy File

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

Revision as of 20:37, 20 May 2013

This command is a File Command.

  • File to Copy refers to the file you would like to copy.
  • The browse button is used to browse for the file.
  • Copy to Location refers to the location you would like the file copied to.

You will need to type in the new location you would like to copy your file to.


Example

copy file("C:\\Users\\Documents\\MyFile.txt", "C:\\Users\\LillyT\\Desktop")


The example above requires you to use the browse button to select a file you would like to copy.

You will need to type in the new folder path you would like to copy your file to.

When the script is run, the copy of the file will be created and placed in the specified locations.


File:Copyfile.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox