Delete File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 2: Line 2:
 
This command simply deletes a file.
 
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.
+
* 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 ==
 
== Example ==
 
<pre>
 
<pre>
delete file("C:\\Users\\LillyT\\Documents\\pleasedeleteme.txt")
+
delete file("C:\\Users\\Documents\\pleasedeleteme.txt")
  
 
</pre>
 
</pre>
 +
  
 
The example above requires you to browse for a file you would like to delete on your desktop.
 
The example above requires you to browse for a file you would like to delete on your desktop.
Line 14: Line 17:
 
Running the script will delete the file at the specified location.
 
Running the script will delete the file at the specified location.
  
[[File:delete.png]]
+
 
 +
[[File:delete.jpg]]

Latest 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.

[edit] 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.


Delete.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox