Difference between revisions of "FileDelete"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Deletes the specified file. ==== Usage ==== <syntaxhighlight>FileDelete("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression specifying the pa...")
 
m
 
(2 intermediate revisions by 2 users 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:Math and Trig]]
+
[[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.