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

 

JScript Folder Object Copy Method

Copies a specified folder from one location to another.

Syntax: JScript Folder Object Copy Method

object.Copy( destination[, overwrite] );

Arguments: JScript Folder Object Copy Method

object

The name of a Folder object. Required.

destination

The destination where the folder is to be copied. Wildcard characters are not allowed. Required.

overwrite

A Boolean value that is True (default) if existing folders are to be overwritten; False if they are not. Optional.

Remarks: JScript Folder Object Copy Method

The results of the Copy method on a Folder are identical to operations performed using CopyFolder where the folder referred to by object is passed as an argument. You should note, however, that the alternative method is capable of copying multiple folders.

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