Will research using the suggestion for the batch file, but I still want to find out why the operation times out. It will copy 7-8 files of 68 total.
The code lines follow:
(note - UDF DirList is inline to script, not added to post for clarity. CurrentFolder & CurrentWorkingFolder are just string concats for each user's specific folders on the file server)
code:
$FileList = DIRLIST("c:\*.rtf",2+4)
For Each $Filename In $FileList
;Append double quotes to string for proper cmd line parsing
$strFileName = Chr(34) + $Filename + Chr(34)
$strCurrentFolder = Chr(34) + $CurrentWorkingFolder + Chr(34)
;MessageBox($strCurrentFolder, "Current Working Folder")
;MessageBox($strFileName, "File")
;Construct proper string representation of command line to pass onto
;Xcopy via Kix Shell.
$strShellCMD = "CMD.EXE /C XCOPY " + $strFileName + " " + $strCurrentFolder + "/z /q /y"
Shell $strShellCMD
$strFileName = ""
$strCurrentFolder = ""
Next