LibreOffice 24.8 Help
Deletes a file from a disk.
Kill File As String
File: Any string expression that contains an unambiguous file specification. You can also use URL notation.
Sub ExampleKill
Kill "C:\Users\ThisUser\datafile.dat" ' File must be created in advance
End Sub