In the VB script, i need to copy one folder, from one locatin to another in different system.
lets say Source : "\iacdev\eTeams2008 Source\"
Destination is \192.168.1.56\eTeams2008_b
Destination path is not accessible directly, i need to enter the domain name and password. how to include the user name and password, with copy folder in vbscript
Set objFSO = CreateObject("Scripting.FileSystemObject")
Const OverwriteExisting = TRUE
objFSO.CopyFolder "\\iacdev\eTeams2008 Source\", "\\192.168.1.56\eTeams2008_bkup\", True
but for this location \192.168.1.56\eTeams2008_bkup\ it is asking userID, password. how to inclued the user id and password in the above code.