+1 888 340 6572

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 ====
== Usage ==
<syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight>  
<syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight>  


Where: [[PathFilename]]  - a string expression specifying the path and filename of the file to be deleted
Where:  


==== Example ====
:'''PathFilename''' - a string expression specifying the path and filename of the file to be deleted.
<syntaxhighlight>FileDelete("C:\test.txt");  will delete the file test.txt in the root directory of the C: hard drive</syntaxhighlight>


== 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

Example

FileDelete("C:\test.txt");

Will delete the file test.txt in the root directory of the C: hard drive.