Your code generates this string for $ShellCMD:
code:
  RoboCopy "C:\Data\Access\" "C:\Old\Data\Access\" "Final SMART Data Conversion.zip"  /Z /MOV

Is that what you get? The problem is the way that robocopy is parsing the input. Drop the training "\" of each path.
code:
$Path = Left($X, InStrRev($X,"\")-1)
$Source = Chr(34) + Left($X, InStrRev($X,"\")-1) + Chr(34) + " " ;Source Path
$Dest = Chr(34) + "C:\Old" + substr($Path, 3) + Chr(34) + " " ;Destination Path
$File = Chr(34) + Right($X, Len($X) - Len($Path)-1) + Chr(34) + " " ;File Name
$Opti = " /Z /MOV"

$ShellCMD = "RoboCopy " + $Source + $Dest + $File + $Opti



[ 01. September 2002, 22:50: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/