KillTempFile Command

Purpose

Deletes a temporary file generated with TempFileName()

Syntax

KillTempFile path$

path$:sexp; path name

Description

KillTempFile path$ deletes the file whose pathname is given in path$.

Example

Local path$ = TempFileName("")

Print path$

KillTempFile path$

Print Exist(path$)

Remarks

A file created with the TempFileName function is automatically deleted when the programs exits. KillTempFile is used when a temporary file is to be deleted explicitly.

See Also

TempFileName

{Created by Sjouke Hamstra; Last updated: 11/10/2014 by James Gaite}