Copying Folders (using File System Object)
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Copying Folders (using File System Object)
If you want to copy some foldes to another folder, first create a File System Object.http://www.dotnetindex.com/articles/57_Copying_Folders__using_File_System_Object_.asp
Total Hits: 4274
Total Votes: 36 votes
Category: ASP/File Manipulation
Submitted on: 2008-03-06 10:00:53
Submitted By: Devesh Khanna
Description:
f you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder ot another folder.<%
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")
FSO.CopyFolder "c:\\Inetpub\\wwwroot\\mysite", "c:\\Inetpub\\wwwroot\\backup"
response.write "Folder copied."
%>
More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%