-
Notifications
You must be signed in to change notification settings - Fork 1
FileDelete
ricardoboss edited this page Sep 13, 2023
·
1 revision
fileDelete
deletes a file from the file system.
fileDelete(string path)
-
path
is the path to the file to delete.
- If the file does not exist, the function does nothing.
- If the file is a directory, the function does nothing.
- If the file is open, the function does nothing.
- If the file is read-only, the function does nothing.
- Returns
true
if the file was deleted,false
otherwise.
fileDelete("C:/Temp/MyFile.txt") // Returns true if the file was deleted, false otherwise.
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!