Kill Statement

Deletes a file from a disk.

Notkun:


Kill File As String

Viðföng:

File: Any string expression that contains an unambiguous file specification. You can also use URL notation.

Error codes:

5 Ógilt kall á stefju

76 Slóð finnst ekki

Dæmi:


Sub ExampleKill
    Kill "C:\datafile.dat" REM File must be created in advance
End Sub

Please support us!