Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

DELETEFILE

Deletes a file from disk.

Syntax

Parameters

FILE (required)
The complete path and name of the file to be deleted. You cannot use wildcards such as * when specifying FILE_NAME.

Description

The DELETEFILE tag deletes a file from disk. Syntax must be specific to the operating system.

errno

The possible values of errno include:

Value
Description
-300
File not found.
-302
File not deleted.
-303
Path not found.

Example

This example deletes a Windows NT file called foo.bar in the directory temp.

See Also

WRITEFILE

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.