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

  1. Deleting a file in a local folder:
  2. deleteFile("c:\Content\test.txt");
  3. Deleting the sample data file used in the DataMapper:
    deleteFile(data.filename);
 
  • Last Topic Update: 27, June, 2017 06:10 AM
  • Last Published: 23, May, 2019 01:55 PM