Skip to content

DELETE FILE 🟑 BETA

DELETE FILE removes a file from bot storage.

Where BASIC scripting sits in the Developer guide

Syntax

DELETE FILE "path"

Example

DELETE FILE "inbox/old.txt"

What it does

DELETE FILE deletes the named file. The catalog also exposes a unified DELETE form.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • Available only when the drive Cargo feature is enabled (botserver/src/basic/keywords/mod.rs).