Deletes the file specified by Name. If no directory is specified in Name the file is assumed to lie in the "Downloads" subdirectory of the iMacros installation (e.g. C:\Program Files\iMacros\Downloads). You can also provide absolute paths to the file (e.g. C:\myData\lastDownloads.csv). Relative paths (e.g. ..\Macros\doExtract.iim) are not supported.
This command can be used to delete an old extraction file to avoid appending extraction results.
Syntax
FILEDELETE Name=file_name
Parameters
Name
Name of the file to be deleted.
Examples
Consider the case that a macro is extracting something from a webpage and saves it to the same file. Usually, new data is appended to existing files. If you want the file to contain only the latest data, delete the file before saving.
See Also
Page URL http://www.iopus.com/imacros/help/cmd_filedelete.htm