The remove function is established to delete a file or folder.
file.remove("myFolder/myFile.txt"); file.remove("yourFolder");
Calling | Returning |
---|---|
file . remove ( path ) |
Parameters | Type | Description |
---|---|---|
path | String | The relative file or folder path which will be deleted. |