> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# delfile

> Loescht eine vorhandene regular file innerhalb des workspace.

<div className="real-function-page">
  ```lua theme={null}
  delfile(path: string)
  ```

  ## Argumente

  <ParamField path={"path"} type={"string"} required>
    Path, der nach separator normalization und workspace-boundary checks im workspace aufgeloest wird. Das Ziel muss existieren und eine regular file sein; folders werden nicht akzeptiert.
  </ParamField>

  ## Beispiel

  Loesche eine vorhandene workspace file.

  ```lua theme={null}
  local path = "examples/temporary.txt"
  writefile(path, "temporary")

  delfile(path)
  print(isfile(path))
  ```
</div>
