VINDICTA
Filesystem · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

delfile

Deletes a file at the specified path.

function delfile(path: string): ()

Synopsis

How it works

Deletes a file from the executor's workspace directory. Calls the Win32 DeleteFileA API internally. The path is sandboxed to the workspace folder — path traversal (../../) is blocked. Throws if the file does not exist or is locked by another process.

Usage

Delete a temp file
writefile("temp.bin", data)
"cc">-- ... use it ...
delfile("temp.bin")

Parameters

path string
Path to the file to delete.