Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript File Object Delete Method

Deletes a specified file.

Syntax: VBScript File Object Delete Method

object.Delete force

Arguments: VBScript File Object Delete Method

object

The name of a File object. Required.

force

A Boolean value that is True if files with the read-only attribute set are to be deleted; False (default) if they are not. Optional.

Remarks: VBScript File Object Delete Method

An error occurs if the specified file does not exist.

The results of the Delete method on a File object are identical to operations performed using DeleteFile.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.