FileDelete: Difference between revisions
From MultiCharts
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Deletes the specified file. | Deletes the specified file. | ||
== Usage == | |||
<syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight> | <syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight> | ||
Where: | Where: | ||
:'''PathFilename''' - a string expression specifying the path and filename of the file to be deleted. | |||
== Notes == | |||
* Use [[FileAppend]] to create a text file. | |||
== Example == | |||
<syntaxhighlight>FileDelete("C:\test.txt");</syntaxhighlight> | |||
Will delete the file test.txt in the root directory of the C: hard drive. | |||
[[Category:Output]] | [[Category:Output]] |
Latest revision as of 15:01, 19 February 2012
Deletes the specified file.
Usage
FileDelete("PathFilename")
Where:
- PathFilename - a string expression specifying the path and filename of the file to be deleted.
Notes
- Use FileAppend to create a text file.
Example
FileDelete("C:\test.txt");
Will delete the file test.txt in the root directory of the C: hard drive.