FILEDELETE
(Copy URL in PhpBB Forum Format - Info)From iMacros
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.
Note: Since iMacros 7, this command is no longer available in the iMacros Browser and Internet Explorer.
Contents |
Syntax 
FILEDELETE NAME=file_name
Example:
FILEDELETE NAME=c:\output\mydata.csv
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.
