Files.remove(name);
Removes the file or directory "name". If "name" does not exist, the function call is ignored. If "name" is a directory, first the content of the directory is removed and afterwards the directory itself.
This function is silent, i.e., it does not print a message.
function remove extends Modelica.Icons.Function; input String name "Name of file or directory to be removed"; end remove;