..
The method CopyFolder copies one or more folders from one place to another. This method accepts three parameters:
Dim fs
'I create an instance of the FileSystemObject
Set fs = Server.CreateObject ("Scripting.FileSystemObject")
'I copy all the folders on my site in the backup folder
fs.CopyFolder "c: \ www \ mysite \ *", "c: \ backup \"
'I cleaned
Set fs = nothing
To copy all the folders, note the use of the asterisk (wildcard).
| |
ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €. |
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €. |