You should also put the complete shell command into a string and the call SHELL with that string. you cna then displat the string and look whether there are incorrect quotes.
code:
$shellcommand = '%COMSPEC% /C xcopy.exe /Q /D "'+@LDRIVE+'\'+$CCBristolStart+'\*.*"'+ $LCCopsStartDir + ' > nul'  
? 'Executing SHELL command : '+$shellcommand
shell $shellcommand

_________________________
There are two types of vessels, submarines and targets.