Kill

Description

The kill command erases or deletes a file or group of files.

Syntax

ret = Kill (FileString)

Parameters

ret

Integer,output

 

0 = OK

 

Non zero = Error

 

 

FileString

String, input

 

This is the file name or file name to delete.

Remarks

This is a PASSPORT command.

Example

Sub ZMain()
Kill "c:\test.txt"

End Sub