DeleteFile
0 | Simple file deletion (on error the update sequence is aborted and an error message is issued) |
1 | Tries to delete the file (Errors are ignored. Update sequence continues. Folder is not necessarily deleted) |
The script function "Deletefile" can be used to delete files from the target device.
Deletefile(<%FilePath%>,<%DeleteFlag%>);
Parameter | Description |
---|---|
<%FilePath%> | The path with filename of the file to be deleted. |
<%DeleteFlag%> | Options for the delete function. |
Example:
Deletefile("\Hard Disk\TestFile1.txt",0);