Difference between revisions of "FileDelete"
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 == | |
<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: | + | [[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.