FileSystem.DeleteFile() (Method)

A method for deleting files from the file system.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyFileSystem.DeleteFile(aName, aFlag)
Argument list:aNameThe name of a file to be deleted
aFlagA flag that indicates whether to force the deletion or not

Files can be deleted by using the File object's own Delete() method or by deleting them at the file system level.

See also:File.Delete()