Delete Folder
From UBot Studio
(Difference between revisions)
(Created page with "This command is a File Command. This command deletes a folder. You will insert the file path of the folder you would like to delete. == Example == <pre> de...") |
(→Example) |
||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
This command is a [[File Commands|File Command]]. | This command is a [[File Commands|File Command]]. | ||
This command deletes a folder. | This command deletes a folder. | ||
+ | |||
You will insert the file path of the folder you would like to delete. | You will insert the file path of the folder you would like to delete. | ||
+ | |||
+ | '''Folder to Delete:''' the file path to the folder that is being deleted. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | delete folder("C:\\Users | + | delete folder("C:\\Users\\Desktop\\Folder of Awesome Things") |
</pre> | </pre> | ||
+ | |||
To run the script, insert the file path for the folder you would like to delete. | To run the script, insert the file path for the folder you would like to delete. | ||
Line 13: | Line 17: | ||
Running the script will bring up a windows prompt asking if you would like to proceed with the deletion process. Click "Yes" and the folder will be deleted. | Running the script will bring up a windows prompt asking if you would like to proceed with the deletion process. Click "Yes" and the folder will be deleted. | ||
− | [[File:deletefolder. | + | |
+ | [[File:deletefolder.jpg]] |
Latest revision as of 19:39, 19 September 2013
This command is a File Command. This command deletes a folder.
You will insert the file path of the folder you would like to delete.
Folder to Delete: the file path to the folder that is being deleted.
[edit] Example
delete folder("C:\\Users\\Desktop\\Folder of Awesome Things")
To run the script, insert the file path for the folder you would like to delete.
Running the script will bring up a windows prompt asking if you would like to proceed with the deletion process. Click "Yes" and the folder will be deleted.