Skip to content

file.Delete

Used for deleting files.

Syntax

file.Delete(string:filelocation)

Parameters

string:location filename Directory string to file. "/folder/this.txt"

Example of deleting

local delete = file.Delete("write.txt");