FILE DELETE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | [[:Category:External_File_Handling|{{Up}}]] | ||
|param1=|param1_desc= {{ | {{Command|syntax=FILE_DELETE <filename> | ||
|description=:Delete a file | |||
|param1=|param1_desc={{filename}} | |||
:The file will be deleted without any prompts or warnings. | |||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :FILE_DELETE "MyFile.txt" | ||
:For an example macro see [[Global_Local]] | |||
[[Category:External_File_Handling]] | [[Category:External_File_Handling]] |
Latest revision as of 23:50, 20 August 2010
Command
- FILE_DELETE <filename>
- Delete a file
Parameters
- 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.
Example
- FILE_DELETE "MyFile.txt"
- For an example macro see Global_Local