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.

Error codes:

5 Invalid procedure call

76 Path not found 76 Path not found 76 Path not found 76 Path not found 76 Path not found 76 Path not found 76 Path not found 76 Path not found

Пример

Sub ExampleKill

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

End Sub