- Documentation
- Shared functions
- fileDelete
Function
fileDelete
Deletes a file. The file must not be open at the time.
Syntax
bool fileDelete(string filePath)Arguments
filePathstring- File path.
Returns
true when deleted.
Example
if fileExists("temp.txt") then fileDelete("temp.txt") end