From Macros Wiki
- FILE_DELETE <filename>
Delete a file.
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
- The file will be deleted without any prompts or warnings.
- FILE_DELETE "MyFile.txt"
- For an example macro see Global_Local