Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Methods
Folder Object
METHOD: Folder.Move
Implemented in version 2.0
object.
Move
destination
This method is used to move the folder relating to the specified
Folder
object to a new destination.
It is recommended that you use the
FolderExists
method of the
FileSystemObject
object to determine if a folder with the same name already exists in the destination location. If it does, and you attempt the
Move
, you'll receive an error.
Code:
<%
dim filesys, demofolder
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofolder = filesys.GetFolder("c:\projects\")
demofolder.Move ("c:\work\")
%>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information