deleteFile()

Function that is used to delete a file.

deleteFile(filename)

filename

String that specifies the path and file name of the file to be deleted.

Examples

Example: Deleting a file in a local folder:

deleteFile("c:\Content\test.txt");

Example: Deleting the sample data file used in the DataMapper:

deleteFile(data.filename);