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

 

JScript Folder Object Delete Method

Deletes a specified folder.

Syntax: JScript Folder Object Delete Method

object.Delete( force );

Arguments: JScript Folder Object Delete Method

object

Required. Always the name of a Folder object.

force

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

Remarks: JScript Folder Object Delete Method

An error occurs if the specified folder does not exist.

The results of the Delete method on a Folder are identical to operations performed using DeleteFolder.

The Delete method does not distinguish between folders that have contents and those that do not. The specified folder is deleted regardless of whether or not it has contents.

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