DeleteFile()

Function used to delete a file.

DeleteFile(filename)

Deletes a file.

filename

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

Examples

  1. You can delete the data file used in the DataMapper:
  2. DeleteFile(data.filename);
  3. You can delete a file in a local folder
  4. DeleteFile("c:\Content\test.txt");
 
  • Last Topic Update: 24/01/2017 09:32
  • Last Published: 7/6/2017 : 9:48 AM