Kill Statement /text/sbasic/shared/03020410.xhp
Kill statement

Kill Statement

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