LibreOffice 7.1 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:\datafile.dat" REM File must be created in advance
End Sub