FILE DELETE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=FILE_DELETE <filename>
{{Command|syntax=FILE_DELETE <filename>
|description=Delete a file.
|description=:Delete a file.


|param1=|param1_desc={{filename}}
|param1=|param1_desc={{filename}}

Revision as of 14:56, 19 August 2010

Up

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