Difference between revisions of "FileDelete"

From MultiCharts
Jump to navigation Jump to search
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 ====
 
<syntaxhighlight>FileDelete("C:\test.txt");  will delete the file test.txt in the root directory of the C: hard drive</syntaxhighlight>
 
 
  
 +
:'''PathFilename''' - a string expression specifying the path and filename of the file to be deleted.
  
 +
== 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]]

Revision as of 10:07, 9 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.

Example

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

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