This is an xcopy script.
$thedir = "c:\testdir"
runwait("C:\WINDOWS\SYSTEM32\XCOPY.EXE " & chr(34) & @MyDocumentsDir & CHR(34) & ' ' & chr(34) & $thedir & CHR(34) & ' /c/s/a/exclude:\exclude.txt >c:\backup.txt')
It will not work with the ( >c:\backup.txt) command output pipe.. It does n...