GLBasic User Manual

Main sections

KILLFILE

KILLFILE filename$



Deletes a file from the harddisk. Also empty directories can be removed.

// Write a file
PUTFILE "test.txt", 0, "test"
// remove it
KILLFILE "test.txt"

// sort of a stupid example ;)

See also...