delete

delete ( string path ) : void

Delete a file or a directory from your disk.

Example


delete(path("desktop")+"file.txt")

Parameters

path

path of the file or directory to delete