tkaragiris posted on February 16, 2010 13:59

Here is an example of how to execute xcopy from VB Script.
' XCopy files from a source folder to dest folder in vb script
Set WShell = CreateObject("WScript.Shell")
WShell.Run "XCOPY ""c:\temp\source"" ""c:\temp\dest"" /R /Y /D", 1, True