Skip to content

DeleteFile

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

DeleteFile

DeleteFile:Void file:String
Parameter Mode Type Default Description
file In 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



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally