Storages & Files DeleteFile
DeleteFile method 

Deletes a file in the file system.


object.DeleteFile(name [,boolForce])


name - file specification

boolForce - Boolean flag - delete even if the file has read-only attribute set. Default is False.


More universal way to delete streams (files or other resources behaving like files) is to use the SFStorage's Remove method 

Applies to: SFMain object

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later


newObjects Copyright 2001-2006 newObjects [ ]