file.Delete Syntax file.Delete(filelocation) Parameters filelocationstring Directory string to file, e.g. : "/folder/this.txt".