'''file delete''' ''?'''-force'''? ?'''- -'''? pathname ?pathname ... ? Removes the file or directory specified by each ''pathname'' argument. Non-empty directories will be removed only if the '''-force''' option is specified. When operating on symbolic links, the links themselves will be deleted, not the objects they point to. Trying to delete a non-existent file is not considered an error. Trying to delete a read-only file will cause the file to be deleted, even if the '''-force''' flags is not specified. If the '''-force''' option is specified on a directory, Tcl will attempt both to change permissions and move the current directory '[pwd]' out of the given path if that is necessary to allow the deletion to proceed. Arguments are processed in the order specified, halting at the first error, if any. A '''- -''' marks the end of switches; the argument following the '''- -''' will be treated as a pathname even if it starts with a '''-'''. ---- See also: * [file] * [file copy] * [file rename] ---- [Tcl syntax help] - [Category Command]