JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. DeleteFile Deletes the specified file. It is not an error if the file does not exist. void DeleteFile(string filePath) Parent topic: General File I/O Functions