English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method is used to delete existing files.
delete(filename)
filename −File name to be deleted and destination.
None
-module(helloworld). -export([start/0]). start() -> file:delete("Duplicate.txt").
If the fileDuplicate.txtIt exists, it will be deleted.