Although you can copy whole folders from the file system via the FileSystem object's CopyFolder() method, this is a more fine-grain means of copying folders.
It is highly recommended that you choose one of the several alternative techniques for copying folders and stick to it. It is far less confusing that way.
This copy method is better than using the FileSystem.CopyFolder() method because it's clearer in the script that we are operating on a Folder. The other method appears ambiguous because we are operating on something contained in the file system and not the object directly. It feels instinctively better to be operating on objects directly rather than by proxy.
See also: | File.Copy(), FileSystem.CopyFolder() |
Prev | Home | Next |
Folder.Attributes | Up | Folder.DateCreated |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |