Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Routine WSH for backup of some files
Message
From
08/05/2004 15:10:43
 
 
To
08/05/2004 15:01:51
General information
Forum:
Windows
Category:
Administration & Security
Miscellaneous
Thread ID:
00902223
Message ID:
00902224
Views:
18
>Hello All,
>
>I'd like to create a WSH file to backup some datas.. Does anyone can publs. here some code of easiest way to do it..
>
I got it.. On MS knowledge abse
Dim FSO

Const FolderName = "C:\bkp"

Set FSO = CreateObject("Scripting.FileSystemObject")

If Not FSO.FolderExists(FolderName) Then 
   FSO.CreateFolder(FolderName)
End If

FSO.CopyFolder "c:\mysource", FolderName
Thanks
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform