I was too quick to say all is well with those sync exclusions. With Syntax checking ON for the first line in script below, I receive Dubious Syntax errors with "-?:\$Recycle.Bin\", one for $Recycle. I assume for the "$" and another for ".Bin" The exclusion does work and no problems with syntax checking off. I can also exclude "System Volume Information" folder by itself as in the second line below. I believe the syntax is correct, but for some reason I cannot get the exclusions to work for both "-?:\$Recycle.Bin\|-?:\System Volume Info\" when combined as in the third line.
Code: Select all
$sync = <<<>>>
E:\<--> I:\Temp|"E:\", "I:\Temp", 1, 0, 1, "cp",,"-?:\$Recycle.Bin\"|:sync //works
E:\<--> I:\Temp|"E:\", "I:\Temp", 1, 0, 1, "cp",,"-?:\System Volume Information\"|:sync //works
E:\<--> I:\Temp|"E:\", "I:\Temp", 1, 0, 1, "cp",,"-?:\$RECYCLE.BIN\|-?:\System Volume Information\"|:sync // does not work
E:\<--> I:\Temp|"E:\", "I:\Temp", 1, 0, 1, "cp",,"-?:\$RECYCLE.BIN\|?:\System Volume Information\"|:sync // does not work
>>>;
$sel = inputselect(" SOURCE <--> TARGET", $sync, <crlf>,1+4+32+1024+8192, , 300, 500, "<space 7>SYNC OPERATIONS");
if($sel) {load "sync $sel", , "s";}