File_DelFile

Description

Deletes specified file


Syntax

File_DelFile(sFile, bForce) As Boolean


Parameters

sFile (String)

File to remove

bForce (Boolean)

Ignore if file is locked


Example

VBScript
If bStatus then bStatus = File_DelFile("C:\CapaInstaller.txt", True)

Scripting Guidelines

Related functions

File_CreateEmptyFile File_DelTree File_ExistFile