FileDelete (Reserved Word)

image\trumpet2.gif Disclaimer

Deletes the specified file.

FileDelete("str_Filename");

str_Filename is a string expression that must be a valid path and file name encompassed in quotes.

Example

If you wanted to delete a file when an analysis technique was initially applied, you could use the following syntax:

If BarNumber = 1 Then
 
FileDelete("c:\mydata.txt");