Home > Contents > Index > 
DELETEFILE
Deletes a file from disk.
Syntax
<DELETEFILE FILE="FILE_NAME"/>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
DELETEFILEtag deletes a file from disk. Syntax must be specific to the operating system.Error Numbers
The possible values of
errnoinclude:
Example
This example deletes a Windows NT file called
foo.barin the directorytemp.<SETVAR NAME="errno" VALUE="0"/> <DELETEFILE FILE="c:tempfoo.bar"/> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.