DELETE FILE

DELETE FILE - plugins.file.deleteFile()



Erases a file from disk.

VFP code example

DELETE FILE "c:\temp\test.xml"         && erase the specified file
DELETE FILE "c:\temp\test.xml" RECYCLE && move to the windows recycle bin

Servoy code example

plugins.file.deleteFile("c:\\temp\\test.xml");

// alternatively:
globals.DELETE_FILE("c:\\temp\\test.xml");  
globals.ERASE("c:\\temp\\test.xml");