Delete File

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

Revision as of 15:41, 19 September 2013

This command is a File Command. This command simply deletes a file.

  • File to Delete refers to the file you would like to delete.
  • The browse button on the command allows you to search for the file in need of deletion.

Example

delete file("C:\\Users\\Documents\\pleasedeleteme.txt")


The example above requires you to browse for a file you would like to delete on your desktop.

Running the script will delete the file at the specified location.


File:Delete.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox