Skip to content

DeleteFile

Claude edited this page Oct 27, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

DeleteFile

DeleteFile file:String
Parameter Type Default Description
file String required The file to delete.

Description

Deletes a file for good. It does not go to a recycle bin.

Examples

file = WriteFile("files_delete_example.tmp")
CloseFile file
DeleteFile "files_delete_example.tmp"
Print FileType("files_delete_example.tmp")
0

Related Commands

CloseFile, CopyFile, DeleteDir, NextFile, OpenFile, ReadFile, SeekFile, WriteFile

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally